diff options
author | Richard Levitte <levitte@openssl.org> | 2019-05-23 03:36:21 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-10-03 15:47:25 +0200 |
commit | 695d195bbb81f8ed4027468fe1c480f958e846c8 (patch) | |
tree | 97adf9d6199573bed701910b41cfe56bb4e56dd7 /crypto/evp/evp_err.c | |
parent | e7c27a6c3716843f8412fd96311b70ac84b785f9 (diff) |
Replumbing: make it possible for providers to specify multiple names
This modifies the treatment of algorithm name strings to allow
multiple names separated with colons.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/8985)
Diffstat (limited to 'crypto/evp/evp_err.c')
-rw-r--r-- | crypto/evp/evp_err.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/evp/evp_err.c b/crypto/evp/evp_err.c index b74b87e4f5..62ca87c683 100644 --- a/crypto/evp/evp_err.c +++ b/crypto/evp/evp_err.c @@ -18,6 +18,7 @@ static const ERR_STRING_DATA EVP_str_reasons[] = { "aes key setup failed"}, {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_ARIA_KEY_SETUP_FAILED), "aria key setup failed"}, + {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_BAD_ALGORITHM_NAME), "bad algorithm name"}, {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_BAD_DECRYPT), "bad decrypt"}, {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_BAD_KEY_LENGTH), "bad key length"}, {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_BUFFER_TOO_SMALL), "buffer too small"}, @@ -33,6 +34,8 @@ static const ERR_STRING_DATA EVP_str_reasons[] = { "cipher parameter error"}, {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_COMMAND_NOT_SUPPORTED), "command not supported"}, + {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_CONFLICTING_ALGORITHM_NAME), + "conflicting algorithm name"}, {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_COPY_ERROR), "copy error"}, {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_CTRL_NOT_IMPLEMENTED), "ctrl not implemented"}, |