]> git.mjollnir.org Git - moodle.git/commitdiff
mnet MDL-17735 changed signature method url to rsa, not dsa
authorPenny Leach <penny@liip.ch>
Tue, 12 Jan 2010 01:59:47 +0000 (01:59 +0000)
committerPenny Leach <penny@liip.ch>
Tue, 12 Jan 2010 01:59:47 +0000 (01:59 +0000)
mnet/lib.php

index f56e9d3769a90de9f0d65f7c3b7fc7adf6d6517f..6a7362408c620427f934578db5e68d41204e916e 100644 (file)
@@ -208,7 +208,7 @@ function mnet_sign_message($message, $privatekey = null) {
         <Signature Id="MoodleSignature" xmlns="http://www.w3.org/2000/09/xmldsig#">
             <SignedInfo>
                 <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
-                <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/>
+                <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
                 <Reference URI="#XMLRPC-MSG">
                     <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                     <DigestValue>'.$digest.'</DigestValue>