Update from stable branch.
[oweals/openssl.git] / crypto / dsa / dsa_ameth.c
index ac31e1f4ed817b6ab1ce0d709d230007f5b8dd39..a588740cd80c327ed652bc9e27d3748f456560cc 100644 (file)
@@ -1,4 +1,4 @@
-/* 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.
  */
 /* ====================================================================
@@ -480,7 +480,7 @@ err:
        }
 
 static int dsa_param_decode(EVP_PKEY *pkey,
-                           const unsigned char **pder, size_t derlen)
+                                       const unsigned char **pder, int derlen)
        {
        DSA *dsa;
        if (!(dsa = d2i_DSAparams(NULL, pder, derlen)))
@@ -517,7 +517,7 @@ static int dsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent,
        }
 
 static int old_dsa_priv_decode(EVP_PKEY *pkey,
-                              const unsigned char **pder, size_t derlen)
+                                       const unsigned char **pder, int derlen)
        {
        DSA *dsa;
        if (!(dsa = d2i_DSAPrivateKey (NULL, pder, derlen)))