Backport extended PSS support from HEAD: allow setting of mgf1Hash explicitly.
[openssl.git] / crypto / rsa / rsa_ameth.c
index a2152de2fc26ce7551e130437988886d1e2a4ce6..8c3209885eab2f1bf3f4c18d3c5e06cf00cacfa2 100644 (file)
@@ -1,5 +1,5 @@
 /* crypto/rsa/rsa_ameth.c */
-/* Written by Dr Stephen N Henson (shenson@bigfoot.com) for the OpenSSL
+/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
  * project 2006.
  */
 /* ====================================================================
@@ -107,7 +107,7 @@ static int rsa_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b)
        }
 
 static int old_rsa_priv_decode(EVP_PKEY *pkey,
-                              const unsigned char **pder, size_t derlen)
+                                       const unsigned char **pder, int derlen)
        {
        RSA *rsa;
        if (!(rsa = d2i_RSAPrivateKey (NULL, pder, derlen)))