diff options
author | Richard Levitte <levitte@openssl.org> | 2019-08-12 13:14:51 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-08-15 22:12:25 +0200 |
commit | f73eb733eeeb50df0068d01efaa3221cadb07389 (patch) | |
tree | 9ec914d06af87842b9681b4e7cbfe9bbd46c0697 /crypto/err | |
parent | 25446a66b69a28c85d178e4454d2caed75d75293 (diff) |
Adjust some provider reason codes
BLAKE2 MACs came with a set of new reason codes. Those talking about
lengths are consistently called PROV_R_INVALID_FOO_LENGTH, for any
name FOO. The cipher messages were briefer. In the interest of
having more humanly readable messages, we adjust the reasons used by
the ciphers (that's just IV length and key length).
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8877)
Diffstat (limited to 'crypto/err')
-rw-r--r-- | crypto/err/openssl.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/err/openssl.txt b/crypto/err/openssl.txt index 68a95c832b..988e6117ec 100644 --- a/crypto/err/openssl.txt +++ b/crypto/err/openssl.txt @@ -2712,8 +2712,8 @@ PROV_R_FAILED_TO_GET_PARAMETER:103:failed to get parameter PROV_R_FAILED_TO_SET_PARAMETER:104:failed to set parameter PROV_R_INVALID_AAD:108:invalid aad PROV_R_INVALID_CUSTOM_LENGTH:111:invalid custom length -PROV_R_INVALID_IVLEN:109:invalid ivlen -PROV_R_INVALID_KEYLEN:105:invalid keylen +PROV_R_INVALID_IV_LENGTH:109:invalid iv length +PROV_R_INVALID_KEY_LENGTH:105:invalid key length PROV_R_INVALID_SALT_LENGTH:112:invalid salt length PROV_R_INVALID_TAG:110:invalid tag PROV_R_NOT_XOF_OR_INVALID_LENGTH:113:not xof or invalid length |