From 72ff746fa7e976fb78c8f445cc45492132e38860 Mon Sep 17 00:00:00 2001 From: markus <> Date: Tue, 17 Sep 2002 13:08:04 +0000 Subject: undo local change, HMAC_Init() already does HMAC_CTX_init if(key && md) --- src/lib/libcrypto/hmac/hmac.c | 1 - src/lib/libssl/src/crypto/hmac/hmac.c | 1 - 2 files changed, 2 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/hmac/hmac.c b/src/lib/libcrypto/hmac/hmac.c index 46480a4c95..da363b7950 100644 --- a/src/lib/libcrypto/hmac/hmac.c +++ b/src/lib/libcrypto/hmac/hmac.c @@ -70,7 +70,6 @@ void HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, { reset=1; ctx->md=md; - EVP_MD_CTX_init(&ctx->md_ctx); } else md=ctx->md; diff --git a/src/lib/libssl/src/crypto/hmac/hmac.c b/src/lib/libssl/src/crypto/hmac/hmac.c index 46480a4c95..da363b7950 100644 --- a/src/lib/libssl/src/crypto/hmac/hmac.c +++ b/src/lib/libssl/src/crypto/hmac/hmac.c @@ -70,7 +70,6 @@ void HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, { reset=1; ctx->md=md; - EVP_MD_CTX_init(&ctx->md_ctx); } else md=ctx->md; -- cgit v1.2.3-55-g6feb