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/ciphercommon_gcm.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/ciphers/ciphercommon_gcm.c')
-rw-r--r-- | providers/implementations/ciphers/ciphercommon_gcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/providers/implementations/ciphers/ciphercommon_gcm.c b/providers/implementations/ciphers/ciphercommon_gcm.c index 974a8f6026..8b9d06b0a4 100644 --- a/providers/implementations/ciphers/ciphercommon_gcm.c +++ b/providers/implementations/ciphers/ciphercommon_gcm.c @@ -9,11 +9,11 @@ /* Dispatch functions for gcm mode */ +#include <openssl/rand.h> +#include <openssl/proverr.h> #include "prov/ciphercommon.h" #include "prov/ciphercommon_gcm.h" #include "prov/providercommon.h" -#include "prov/providercommonerr.h" -#include <openssl/rand.h> #include "prov/provider_ctx.h" static int gcm_tls_init(PROV_GCM_CTX *dat, unsigned char *aad, size_t aad_len); |