diff options
author | Neil Horman <nhorman@openssl.org> | 2024-04-06 10:16:50 -0400 |
---|---|---|
committer | Neil Horman <nhorman@openssl.org> | 2024-04-12 08:02:19 -0400 |
commit | f2f13cff210a1b19cdd76dfab8739567535e2632 (patch) | |
tree | 4c11ed9c8a0e07b23f66b54a6117328c35e8cc94 /demos/cipher/aesgcm.c | |
parent | 44f05ded99cab8436f8413efa8b71b8c33e00501 (diff) |
Fix warnings found by clang in CI
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/24047)
Diffstat (limited to 'demos/cipher/aesgcm.c')
-rw-r--r-- | demos/cipher/aesgcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/cipher/aesgcm.c b/demos/cipher/aesgcm.c index 40465b269c..f5011b8136 100644 --- a/demos/cipher/aesgcm.c +++ b/demos/cipher/aesgcm.c @@ -64,8 +64,8 @@ static const unsigned char gcm_tag[] = { * algorithm implementations. If they are NULL then the default library * context and properties are used. */ -OSSL_LIB_CTX *libctx = NULL; -const char *propq = NULL; +static OSSL_LIB_CTX *libctx = NULL; +static const char *propq = NULL; static int aes_gcm_encrypt(void) { |