]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Owa.php
UUID instead of GUID
[friendica.git] / src / Module / Owa.php
index 93d610a7476d02ab4ad52a4eaa94e47b96a968f1..68f31c59de23aab272d19b7a17b1254c259affeb 100644 (file)
@@ -51,10 +51,10 @@ class Owa extends BaseModule
 
                                                $contact = DBA::selectFirst('contact', $fields, $condition);
 
-                                               if (DBA::is_result($contact)) {
+                                               if (DBA::isResult($contact)) {
                                                        // Try to verify the signed header with the public key of the contact record
                                                        // we have found.
-                                                       $verified = HTTPSignature::verify('', $contact['pubkey']);
+                                                       $verified = HTTPSignature:verifyMagic($contact['pubkey']);
 
                                                        if ($verified && $verified['header_signed'] && $verified['header_valid']) {
                                                                logger('OWA header: ' . print_r($verified, true), LOGGER_DATA);