MDL-16157 - fixing arguments to mnet_get_public_key
authormjollnir_ <mjollnir_>
Thu, 21 Aug 2008 14:45:28 +0000 (14:45 +0000)
committermjollnir_ <mjollnir_>
Thu, 21 Aug 2008 14:45:28 +0000 (14:45 +0000)
mnet/xmlrpc/server.php

index c48a1912d94ea18dce96c2f8c18f5cff81c756d0..8aa821c1806b10cfd6d456e011623cd409cc1029 100644 (file)
@@ -209,7 +209,7 @@ function mnet_server_strip_wrappers($HTTP_RAW_POST_DATA) {
             $MNET_REMOTE_CLIENT->touch();
             // Parse the XML
         } elseif ($signature_verified == 0) {
-            $currkey = mnet_get_public_key($MNET_REMOTE_CLIENT->wwwroot, $MNET_REMOTE_CLIENT->application->xmlrpc_server_url);
+            $currkey = mnet_get_public_key($MNET_REMOTE_CLIENT->wwwroot, $MNET_REMOTE_CLIENT->application);
             if($currkey != $certificate) {
                 // Has the server updated its certificate since our last 
                 // handshake?