diff options
author | Richard Levitte <levitte@openssl.org> | 2021-06-01 20:04:59 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-06-05 20:30:11 +1000 |
commit | 9379bf943a12090de6280e88fb0d246e73658116 (patch) | |
tree | 88edd720911933e65a162f1daee9d79c5f383e91 /include | |
parent | 6ec3b2cf4992a304b4ab36f7b9e9ff130bd495b7 (diff) | |
download | openssl-new-9379bf943a12090de6280e88fb0d246e73658116.tar.gz |
DECODER: use property definitions instead of getting implementation parameters
The OSSL_DECODER library used to ask each decoder implementation for
certain data in form of parameters to place them correctly in the
decoder chain, if at all. These parameters were duplicates of
properties of those same implementations, and therefore unnecessarily
redundant.
Now that we have functionality to query property definition values,
those duplicates are no longer needed, and are therefore not looked at
any more.
This adds the "global" error reason ERR_R_INVALID_PROPERTY_DEFINITION,
which can be re-used elsewhere.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15570)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/err.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/err.h.in b/include/openssl/err.h.in index f7d5c174a1..4bc5d1eea5 100644 --- a/include/openssl/err.h.in +++ b/include/openssl/err.h.in @@ -357,6 +357,7 @@ static ossl_unused ossl_inline int ERR_COMMON_ERROR(unsigned long errcode) # define ERR_R_MISSING_ASN1_EOS (267|ERR_RFLAG_COMMON) # define ERR_R_UNSUPPORTED (268|ERR_RFLAG_COMMON) # define ERR_R_FETCH_FAILED (269|ERR_RFLAG_COMMON) +# define ERR_R_INVALID_PROPERTY_DEFINITION (270|ERR_RFLAG_COMMON) typedef struct ERR_string_data_st { unsigned long error; |