mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-20 07:17:02 +00:00
Use Crypto::opensslPrivateDecrypt instead of openssl_private_decrypt
This commit is contained in:
parent
3f7685d8a8
commit
ec15a3980c
1 changed files with 2 additions and 2 deletions
|
@ -210,7 +210,7 @@ function jappixmini_init()
|
||||||
}
|
}
|
||||||
|
|
||||||
$encrypt_func = openssl_private_encrypt;
|
$encrypt_func = openssl_private_encrypt;
|
||||||
$decrypt_func = openssl_private_decrypt;
|
$decrypt_func = '\Friendica\Util\Crypto::opensslPrivateDecrypt';
|
||||||
$key = $r[0]["prvkey"];
|
$key = $r[0]["prvkey"];
|
||||||
} else {
|
} else {
|
||||||
killme();
|
killme();
|
||||||
|
@ -610,7 +610,7 @@ function jappixmini_cron(App $a, $d)
|
||||||
$dfrn_id = $contact_row["issued-id"];
|
$dfrn_id = $contact_row["issued-id"];
|
||||||
$key = $contact_row["prvkey"];
|
$key = $contact_row["prvkey"];
|
||||||
$encrypt_func = openssl_private_encrypt;
|
$encrypt_func = openssl_private_encrypt;
|
||||||
$decrypt_func = openssl_private_decrypt;
|
$decrypt_func = '\Friendica\Util\Crypto::opensslPrivateDecrypt';
|
||||||
$role = "pub";
|
$role = "pub";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue