MDL-16157 - fixing arguments to mnet_get_public_key

This commit is contained in:
mjollnir_
2008-08-21 14:45:28 +00:00
parent e399d47cd6
commit e64de55dec
+1 -1
View 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?