]> git.mxchange.org Git - friendica.git/commitdiff
Fix missing Crypto class error
authorHypolite Petovan <mrpetovan@gmail.com>
Thu, 9 Nov 2017 08:47:12 +0000 (03:47 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Thu, 9 Nov 2017 08:47:12 +0000 (03:47 -0500)
src/Protocol/DFRN.php

index 1009d075df9398264ac7af00196e5ad8d4c97f31..611dbc976146afe9754cf80c09795697ef8e18de 100644 (file)
@@ -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;