Browse Source

Fix missing Crypto class error

pull/3889/head
Hypolite Petovan 5 years ago
parent
commit
a49901eaa2
  1. 2
      src/Protocol/DFRN.php

2
src/Protocol/DFRN.php

@ -1305,7 +1305,7 @@ class DFRN
return -5;
}
try {
$data = Crypto::encrypt($postvars['data'], $key);
$data = \Crypto::encrypt($postvars['data'], $key);
} catch (\CryptoTestFailedException $ex) {
logger('Cannot safely perform encryption');
return -6;

Loading…
Cancel
Save