提交 6657b9c7 编写于 作者: D Dr. Stephen Henson

Fix warnings.

上级 ba0d04a9
......@@ -815,6 +815,7 @@ int get_cert_chain (X509 *cert, X509_STORE *store, STACK_OF(X509) **chain)
*chain = chn;
err:
X509_STORE_CTX_cleanup(&store_ctx);
*chain = NULL;
return i;
}
......
......@@ -99,7 +99,7 @@ int MAIN(int argc, char **argv)
int keysize = -1;
unsigned char *buf_in = NULL, *buf_out = NULL, *sig = NULL;
int buf_inlen, buf_outlen, siglen = -1;
int buf_inlen = 0, buf_outlen, siglen = -1;
int ret = 1, rv = -1;
......@@ -539,7 +539,7 @@ static int do_keyop(EVP_PKEY_CTX *ctx, int pkey_op,
unsigned char *out, size_t *poutlen,
unsigned char *in, size_t inlen)
{
int rv;
int rv = 0;
switch(pkey_op)
{
case EVP_PKEY_OP_VERIFYRECOVER:
......
......@@ -2048,7 +2048,7 @@ SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt,
#ifndef OPENSSL_NO_TLSEXT
#ifndef OPENSSL_NO_EC
int ec_ok, ec_nid;
unsigned char ec_search1, ec_search2;
unsigned char ec_search1 = 0, ec_search2 = 0;
#endif /* OPENSSL_NO_EC */
#endif /* OPENSSL_NO_TLSEXT */
CERT *cert;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册