summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/crypto/hmac/hmac.c
diff options
context:
space:
mode:
authorPeter Bright <drpizza@quiscalusmexicanus.org>2011-08-20 06:05:08 +0100
committerRyan Dahl <ry@tinyclouds.org>2011-08-22 11:30:47 -0700
commit0110c90382f9a1e8f7aa3cc5388651ec2391a9a6 (patch)
tree3eb18a48aec4a14ccbd815362b7f414d448c16c9 /deps/openssl/openssl/crypto/hmac/hmac.c
parente80cac622569dda0f6753b452ba3e5085a9d09e5 (diff)
downloadandroid-node-v8-0110c90382f9a1e8f7aa3cc5388651ec2391a9a6.tar.gz
android-node-v8-0110c90382f9a1e8f7aa3cc5388651ec2391a9a6.tar.bz2
android-node-v8-0110c90382f9a1e8f7aa3cc5388651ec2391a9a6.zip
Upgrade to 0.9.8r.
Build in Win32.
Diffstat (limited to 'deps/openssl/openssl/crypto/hmac/hmac.c')
-rw-r--r--deps/openssl/openssl/crypto/hmac/hmac.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/deps/openssl/openssl/crypto/hmac/hmac.c b/deps/openssl/openssl/crypto/hmac/hmac.c
index cbc1c76a57..6899be63d4 100644
--- a/deps/openssl/openssl/crypto/hmac/hmac.c
+++ b/deps/openssl/openssl/crypto/hmac/hmac.c
@@ -130,12 +130,9 @@ void HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len)
void HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len)
{
- int j;
unsigned int i;
unsigned char buf[EVP_MAX_MD_SIZE];
- j=EVP_MD_block_size(ctx->md);
-
EVP_DigestFinal_ex(&ctx->md_ctx,buf,&i);
EVP_MD_CTX_copy_ex(&ctx->md_ctx,&ctx->o_ctx);
EVP_DigestUpdate(&ctx->md_ctx,buf,i);