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/ciphers/cipher_tdes_common.c | |
parent | dc9ec65a018d92306e4b3139239505c5cfc5b15e (diff) | |
download | openssl-new-2741128e9deeb7f6fd73f10a1c657c05433a41cb.tar.gz |
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/ciphers/cipher_tdes_common.c')
-rw-r--r-- | providers/implementations/ciphers/cipher_tdes_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/providers/implementations/ciphers/cipher_tdes_common.c b/providers/implementations/ciphers/cipher_tdes_common.c index 17b8ce40b0..2accb24b0a 100644 --- a/providers/implementations/ciphers/cipher_tdes_common.c +++ b/providers/implementations/ciphers/cipher_tdes_common.c @@ -13,12 +13,12 @@ */ #include "internal/deprecated.h" +#include <openssl/rand.h> +#include <openssl/proverr.h> #include "prov/ciphercommon.h" #include "cipher_tdes.h" -#include <openssl/rand.h> #include "prov/implementations.h" #include "prov/providercommon.h" -#include "prov/providercommonerr.h" void *tdes_newctx(void *provctx, int mode, size_t kbits, size_t blkbits, size_t ivbits, uint64_t flags, const PROV_CIPHER_HW *hw) |