diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-02-05 17:40:42 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-02-11 09:34:31 +0100 |
commit | 2741128e9deeb7f6fd73f10a1c657c05433a41cb (patch) | |
tree | d8839a5c0f19b10c6cc16104d639168facee239b /providers/implementations/encode_decode/decode_der2key.c | |
parent | dc9ec65a018d92306e4b3139239505c5cfc5b15e (diff) |
Move the PROV_R reason codes to a public header
The PROV_R codes can be returned to applications so it is useful
to have some common set of provider reason codes for the applications
or third party providers.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14086)
Diffstat (limited to 'providers/implementations/encode_decode/decode_der2key.c')
-rw-r--r-- | providers/implementations/encode_decode/decode_der2key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/encode_decode/decode_der2key.c b/providers/implementations/encode_decode/decode_der2key.c index 6611e808d1..a22e3a6406 100644 --- a/providers/implementations/encode_decode/decode_der2key.c +++ b/providers/implementations/encode_decode/decode_der2key.c @@ -22,6 +22,7 @@ #include <openssl/pem.h> /* PEM_BUFSIZE and public PEM functions */ #include <openssl/pkcs12.h> #include <openssl/x509.h> +#include <openssl/proverr.h> #include "internal/cryptlib.h" /* ossl_assert() */ #include "internal/asn1.h" #include "crypto/dh.h" @@ -31,7 +32,6 @@ #include "crypto/rsa.h" #include "prov/bio.h" #include "prov/implementations.h" -#include "prov/providercommonerr.h" #include "endecoder_local.h" #define SET_ERR_MARK() ERR_set_mark() |