summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/crypto/hmac/hmac.c
diff options
context:
space:
mode:
authorShigeki Ohtsu <ohtsu@ohtsu.org>2016-09-22 20:53:25 +0900
committerShigeki Ohtsu <ohtsu@ohtsu.org>2016-09-22 23:05:52 +0900
commitd1039709a4dce1c841a8972988245a88f2266fe1 (patch)
treee057f824a5325759d64fda189cb54652039022ff /deps/openssl/openssl/crypto/hmac/hmac.c
parent91b40944a41f8ab1e499ed5bebeed520a215b9a5 (diff)
downloadandroid-node-v8-d1039709a4dce1c841a8972988245a88f2266fe1.tar.gz
android-node-v8-d1039709a4dce1c841a8972988245a88f2266fe1.tar.bz2
android-node-v8-d1039709a4dce1c841a8972988245a88f2266fe1.zip
deps: upgrade openssl sources to 1.0.2i
This replaces all sources of openssl-1.0.2i.tar.gz into deps/openssl/openssl PR-URL: https://github.com/nodejs/node/pull/8714 Reviewed-By: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'deps/openssl/openssl/crypto/hmac/hmac.c')
-rw-r--r--deps/openssl/openssl/crypto/hmac/hmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/openssl/openssl/crypto/hmac/hmac.c b/deps/openssl/openssl/crypto/hmac/hmac.c
index 51a0a3efcd..213504e85f 100644
--- a/deps/openssl/openssl/crypto/hmac/hmac.c
+++ b/deps/openssl/openssl/crypto/hmac/hmac.c
@@ -234,7 +234,7 @@ void HMAC_CTX_cleanup(HMAC_CTX *ctx)
EVP_MD_CTX_cleanup(&ctx->i_ctx);
EVP_MD_CTX_cleanup(&ctx->o_ctx);
EVP_MD_CTX_cleanup(&ctx->md_ctx);
- memset(ctx, 0, sizeof *ctx);
+ OPENSSL_cleanse(ctx, sizeof *ctx);
}
unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,