summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-09-17 13:08:05 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-09-17 13:08:05 +0000
commit3b7e79393d5fcbb09ba4c468ec18fcdb15ba4610 (patch)
tree682997997930f073027709c1fadd3a42755898d0
parent3b314c4b42a569e88cdbd405c0601e9328e28d1b (diff)
undo local change, HMAC_Init() already does HMAC_CTX_init if(key && md)
-rw-r--r--lib/libssl/src/crypto/hmac/hmac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/hmac/hmac.c b/lib/libssl/src/crypto/hmac/hmac.c
index 46480a4c955..da363b79507 100644
--- a/lib/libssl/src/crypto/hmac/hmac.c
+++ b/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;