From a6211814c4c6f29358f29f639d468387b01518f8 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 20 Jun 2016 09:08:10 +0100 Subject: 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 --- include/openssl/hmac.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 } -- cgit v1.2.3