diff options
Diffstat (limited to 'src/lib/libcrypto/hmac/hmac.c')
-rw-r--r-- | src/lib/libcrypto/hmac/hmac.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/libcrypto/hmac/hmac.c b/src/lib/libcrypto/hmac/hmac.c index c45e001492..1d140f7adb 100644 --- a/src/lib/libcrypto/hmac/hmac.c +++ b/src/lib/libcrypto/hmac/hmac.c | |||
@@ -171,3 +171,10 @@ unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, | |||
171 | return(md); | 171 | return(md); |
172 | } | 172 | } |
173 | 173 | ||
174 | void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags) | ||
175 | { | ||
176 | EVP_MD_CTX_set_flags(&ctx->i_ctx, flags); | ||
177 | EVP_MD_CTX_set_flags(&ctx->o_ctx, flags); | ||
178 | EVP_MD_CTX_set_flags(&ctx->md_ctx, flags); | ||
179 | } | ||
180 | |||