summaryrefslogtreecommitdiffstats
path: root/test/afalgtest.c
diff options
context:
space:
mode:
authorJitendraLulla <lullajd@yahoo.com>2017-11-15 06:03:07 +0530
committerMatt Caswell <matt@openssl.org>2017-12-08 10:39:52 +0000
commita3d7fd2837ab7341e58862df95af8532f23d4d51 (patch)
treea43677eca2c916a4df5213dbe97d21b434b58ed9 /test/afalgtest.c
parent49ea0f09833fb526a12f9402fa2fcf0f4b735d5e (diff)
fix --strict-warnings
Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4717)
Diffstat (limited to 'test/afalgtest.c')
-rw-r--r--test/afalgtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/afalgtest.c b/test/afalgtest.c
index ec25d58ddc..adb2977f30 100644
--- a/test/afalgtest.c
+++ b/test/afalgtest.c
@@ -62,7 +62,7 @@ static int test_afalg_aes_cbc(int keysize_idx)
"\xb1\x9e\xe0\xdf\x61\xb9\xc2\x55\xeb";
unsigned char encresult_256[] = "\xa0\x76\x85\xfd\xc1\x65\x71\x9d"
"\xc7\xe9\x13\x6e\xae\x55\x49\xb4\x13";
- unsigned char *enc_result;
+ unsigned char *enc_result = NULL;
int encl, encf, decl, decf;
int ret = 0;