summaryrefslogtreecommitdiffstats
path: root/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-02-05 17:40:42 +0100
committerTomas Mraz <tomas@openssl.org>2021-02-11 09:34:31 +0100
commit2741128e9deeb7f6fd73f10a1c657c05433a41cb (patch)
treed8839a5c0f19b10c6cc16104d639168facee239b /providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c
parentdc9ec65a018d92306e4b3139239505c5cfc5b15e (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/ciphers/cipher_aes_cbc_hmac_sha.c')
-rw-r--r--providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c b/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c
index 03f216d22e..abefc20ab2 100644
--- a/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c
+++ b/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c
@@ -18,6 +18,7 @@
/* Only for SSL3_VERSION and TLS1_VERSION */
#include <openssl/ssl.h>
+#include <openssl/proverr.h>
#include "cipher_aes_cbc_hmac_sha.h"
#include "prov/implementations.h"
#include "prov/providercommon.h"
@@ -28,7 +29,6 @@ const OSSL_DISPATCH ossl_##nm##kbits##sub##_functions[] = { \
{ 0, NULL } \
};
#else
-# include "prov/providercommonerr.h"
# define AES_CBC_HMAC_SHA_FLAGS (PROV_CIPHER_FLAG_AEAD \
| PROV_CIPHER_FLAG_TLS1_MULTIBLOCK)