aboutsummaryrefslogtreecommitdiff
path: root/include/openssl/hmac.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-06-12 13:08:04 +0100
committerMatt Caswell <matt@openssl.org>2015-06-12 13:16:09 +0100
commit4b464e7b46682f568a5df550426b0cf4b22e2485 (patch)
treee68dd3b990976cb8201b2f76d758272ab014213c /include/openssl/hmac.h
parent063dccd027033401912d8c5e3f0f25b1f13de64b (diff)
downloadopenssl-4b464e7b46682f568a5df550426b0cf4b22e2485.zip
openssl-4b464e7b46682f568a5df550426b0cf4b22e2485.tar.gz
openssl-4b464e7b46682f568a5df550426b0cf4b22e2485.tar.bz2
Fix ABI break with HMAC
Recent HMAC changes broke ABI compatibility due to a new field in HMAC_CTX. This backs that change out, and does it a different way. Thanks to Timo Teras for the concept. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'include/openssl/hmac.h')
-rw-r--r--include/openssl/hmac.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/openssl/hmac.h b/include/openssl/hmac.h
index 61946fc..81aa49d 100644
--- a/include/openssl/hmac.h
+++ b/include/openssl/hmac.h
@@ -75,7 +75,6 @@ typedef struct hmac_ctx_st {
EVP_MD_CTX o_ctx;
unsigned int key_length;
unsigned char key[HMAC_MAX_MD_CBLOCK];
- int key_init;
} HMAC_CTX;
# define HMAC_size(e) (EVP_MD_size((e)->md))