projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add flags functions which were added to 0.9.8 for fips but not 1.0.0 and
[openssl.git]
/
crypto
/
hmac
/
hmac.c
diff --git
a/crypto/hmac/hmac.c
b/crypto/hmac/hmac.c
index 8c2e36ee7c108c34a1f98366e55935597b0afec4..45015fe754d68a6f18a4d0ab7fbdb2d3e3a101e2 100644
(file)
--- a/
crypto/hmac/hmac.c
+++ b/
crypto/hmac/hmac.c
@@
-209,3
+209,9
@@
unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
return NULL;
}
+void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags)
+ {
+ EVP_MD_CTX_set_flags(&ctx->i_ctx, flags);
+ EVP_MD_CTX_set_flags(&ctx->o_ctx, flags);
+ EVP_MD_CTX_set_flags(&ctx->md_ctx, flags);
+ }