X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fhmac%2Fhm_ameth.c;h=a6aa7931108c6d5ab4d222da1de53edb3782977c;hp=9f6b65abb57e604ebe84c148f9d6fc1323724463;hb=2514fa79acba998c2a8d4e5a8288a5b3ae990377;hpb=2e5975285e2b65261ce780fa3f5744277b66db34;ds=sidebyside diff --git a/crypto/hmac/hm_ameth.c b/crypto/hmac/hm_ameth.c index 9f6b65abb5..a6aa793110 100644 --- a/crypto/hmac/hm_ameth.c +++ b/crypto/hmac/hm_ameth.c @@ -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(); @@ -152,8 +152,8 @@ const EVP_PKEY_ASN1_METHOD hmac_asn1_meth = 0,0,0, hmac_size, - 0, - 0,0,0,0,0,0, + 0, 0, + 0,0,0,0,0,0,0, hmac_key_free, hmac_pkey_ctrl,