aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-06-20 09:08:10 +0100
committerMatt Caswell <matt@openssl.org>2016-06-24 13:22:40 +0100
commita6211814c4c6f29358f29f639d468387b01518f8 (patch)
treefff1531b407a571af5431c53c0f17cea6248b95a /include
parentd6079a87db58ad17550b5d00a74512464e6a029e (diff)
downloadopenssl-a6211814c4c6f29358f29f639d468387b01518f8.tar.gz
Add a getter to obtain the HMAC_CTX md
As a result of opaque HMAC_CTX apps need a getter for the HMAC_CTX md. GitHub Issue #1152 Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/hmac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/hmac.h b/include/openssl/hmac.h
index 809ca34227..9f06896059 100644
--- a/include/openssl/hmac.h
+++ b/include/openssl/hmac.h
@@ -40,6 +40,7 @@ unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
__owur int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags);
+const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx);
#ifdef __cplusplus
}