aboutsummaryrefslogtreecommitdiff
path: root/test/x509_check_cert_pkey_test.c
diff options
context:
space:
mode:
authorPaul Yang <paulyang.inf@gmail.com>2017-06-05 03:41:19 +0800
committerMatt Caswell <matt@openssl.org>2017-06-06 17:50:06 +0100
commite514ff0f7368b75b312d69da7b3a82ee57141967 (patch)
tree46d4b526c41b86433231832e7d022d96de74c3bf /test/x509_check_cert_pkey_test.c
parent6d2523e0378edabad236bf052d465448dc387c9d (diff)
downloadopenssl-e514ff0f7368b75b312d69da7b3a82ee57141967.zip
openssl-e514ff0f7368b75b312d69da7b3a82ee57141967.tar.gz
openssl-e514ff0f7368b75b312d69da7b3a82ee57141967.tar.bz2
Set local variable to 0 to avoid build error
Signed-off-by: Paul Yang <paulyang.inf@gmail.com> Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3614)
Diffstat (limited to 'test/x509_check_cert_pkey_test.c')
-rw-r--r--test/x509_check_cert_pkey_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/x509_check_cert_pkey_test.c b/test/x509_check_cert_pkey_test.c
index 7151c17..e94b18b 100644
--- a/test/x509_check_cert_pkey_test.c
+++ b/test/x509_check_cert_pkey_test.c
@@ -27,7 +27,7 @@ static int test_x509_check_cert_pkey(const char *c, const char *k,
X509 *x509 = NULL;
X509_REQ *x509_req = NULL;
EVP_PKEY *pkey = NULL;
- int ret = 0, type = 0, expected = 0, result;
+ int ret = 0, type = 0, expected = 0, result = 0;
/*
* we check them first thus if fails we don't need to do