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)
This commit is contained in:
Paul Yang 2017-06-05 03:41:19 +08:00 committed by Matt Caswell
parent 6d2523e037
commit e514ff0f73

View file

@ -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