mirror of
https://github.com/friendica/friendica
synced 2025-04-29 11:44:24 +02:00
port hubzillas OpenWebAuth - fix wrong table name + fix wrong method name
This commit is contained in:
parent
e4aaf8eb16
commit
9f493357f4
2 changed files with 8 additions and 8 deletions
|
@ -394,7 +394,7 @@ class Crypto
|
|||
$key = random_bytes(32);
|
||||
$iv = random_bytes(16);
|
||||
$result = ['encrypted' => true];
|
||||
$result['data'] = base64url_encode(self::AES256CBC_encrypt($data, $key, $iv), true);
|
||||
$result['data'] = base64url_encode(self::encryptAES256CBC($data, $key, $iv), true);
|
||||
|
||||
// log the offending call so we can track it down
|
||||
if (!openssl_public_encrypt($key, $k, $pubkey)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue