aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/hmac
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2010-06-12 14:13:23 +0000
committerBen Laurie <ben@openssl.org>2010-06-12 14:13:23 +0000
commitc8bbd98a2b0c2a5164c42f951cd2866512839b5a (patch)
treefe50b2de26e0f563ce0b21b88d80da407dbc7999 /crypto/hmac
parent57ae37a00388ca177d67d4cee8db167f7e27fc7c (diff)
downloadopenssl-c8bbd98a2b0c2a5164c42f951cd2866512839b5a.tar.gz
Fix warnings.
Diffstat (limited to 'crypto/hmac')
-rw-r--r--crypto/hmac/hmac.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/hmac/hmac.c b/crypto/hmac/hmac.c
index 45015fe754..6c98fc43a3 100644
--- a/crypto/hmac/hmac.c
+++ b/crypto/hmac/hmac.c
@@ -138,12 +138,9 @@ int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len)
int 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);
-
if (!EVP_DigestFinal_ex(&ctx->md_ctx,buf,&i))
goto err;
if (!EVP_MD_CTX_copy_ex(&ctx->md_ctx,&ctx->o_ctx))