Add functions to set ECDSA_METHOD structure.
[openssl.git] / crypto / hmac / hm_ameth.c
index 38ae0f9c4c7e1d75fb5950cd585bf953c57a6fea..e03f24aedab983b26fb4eb995fdf5ae511c69449 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 2007.
  */
 /* ====================================================================
@@ -104,7 +104,7 @@ static int hmac_pkey_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2)
  */
 
 static int old_hmac_decode(EVP_PKEY *pkey,
-                          const unsigned char **pder, size_t derlen)
+                                       const unsigned char **pder, int derlen)
        {
        ASN1_OCTET_STRING *os;
        os = ASN1_OCTET_STRING_new();
@@ -153,7 +153,7 @@ const EVP_PKEY_ASN1_METHOD hmac_asn1_meth =
 
        hmac_size,
        0,
-       0,0,0,0,0,0,
+       0,0,0,0,0,0,0,
 
        hmac_key_free,
        hmac_pkey_ctrl,