diff options
author | Richard Levitte <levitte@openssl.org> | 2019-04-05 10:46:18 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-04-05 15:43:37 +0200 |
commit | cb92964563a053d5d9c0810912fa6d3ff35c1e16 (patch) | |
tree | 8c8b2ec7a5635ae092fe6658c71dbc0d4d387a4c /crypto/evp/evp_err.c | |
parent | bc362b9b72021c2a066102f4f6bee5afc981e07a (diff) |
EVP_set_default_properties(): New function to set global properties
EVP_MD_fetch() can be given a property query string. However, there
are cases when it won't, for example in implicit fetches. Therefore,
we also need a way to set a global property query string to be used in
all subsequent fetches. This also applies to all future algorithm
fetching functions.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8681)
Diffstat (limited to 'crypto/evp/evp_err.c')
-rw-r--r-- | crypto/evp/evp_err.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/evp/evp_err.c b/crypto/evp/evp_err.c index 1a4f3819b2..a9f8800b08 100644 --- a/crypto/evp/evp_err.c +++ b/crypto/evp/evp_err.c @@ -156,6 +156,8 @@ static const ERR_STRING_DATA EVP_str_functs[] = { "EVP_PKEY_verify_recover"}, {ERR_PACK(ERR_LIB_EVP, EVP_F_EVP_PKEY_VERIFY_RECOVER_INIT, 0), "EVP_PKEY_verify_recover_init"}, + {ERR_PACK(ERR_LIB_EVP, EVP_F_EVP_SET_DEFAULT_PROPERTIES, 0), + "EVP_set_default_properties"}, {ERR_PACK(ERR_LIB_EVP, EVP_F_EVP_SIGNFINAL, 0), "EVP_SignFinal"}, {ERR_PACK(ERR_LIB_EVP, EVP_F_EVP_VERIFYFINAL, 0), "EVP_VerifyFinal"}, {ERR_PACK(ERR_LIB_EVP, EVP_F_GMAC_CTRL, 0), "gmac_ctrl"}, |