summaryrefslogtreecommitdiff
path: root/lib/libcrypto/hmac
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
commit869e002b6aad0428e2e75e7a1984bf76b37a9613 (patch)
tree440ca101a89fac857344a8ffbfe06d75e43f60b9 /lib/libcrypto/hmac
parent854d47cb517b9e220e126271e20490545ff8a227 (diff)
undo local change, HMAC_Init() already does HMAC_CTX_init if(key && md)
Diffstat (limited to 'lib/libcrypto/hmac')
-rw-r--r--lib/libcrypto/hmac/hmac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libcrypto/hmac/hmac.c b/lib/libcrypto/hmac/hmac.c
index 46480a4c955..da363b79507 100644
--- a/lib/libcrypto/hmac/hmac.c
+++ b/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;