From: Paul Yang Date: Sun, 4 Jun 2017 19:41:19 +0000 (+0800) Subject: Set local variable to 0 to avoid build error X-Git-Tag: OpenSSL_1_1_1-pre1~1382 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e514ff0f7368b75b312d69da7b3a82ee57141967;p=oweals%2Fopenssl.git Set local variable to 0 to avoid build error Signed-off-by: Paul Yang Reviewed-by: Rich Salz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/3614) --- diff --git a/test/x509_check_cert_pkey_test.c b/test/x509_check_cert_pkey_test.c index 7151c172b8..e94b18b0b4 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