diff options
author | Matt Caswell <matt@openssl.org> | 2015-06-12 13:08:04 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-06-12 13:16:09 +0100 |
commit | 4b464e7b46682f568a5df550426b0cf4b22e2485 (patch) | |
tree | e68dd3b990976cb8201b2f76d758272ab014213c /include | |
parent | 063dccd027033401912d8c5e3f0f25b1f13de64b (diff) | |
download | openssl-4b464e7b46682f568a5df550426b0cf4b22e2485.tar.gz |
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')
-rw-r--r-- | include/openssl/hmac.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/openssl/hmac.h b/include/openssl/hmac.h index 61946fc456..81aa49da49 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)) |