summaryrefslogtreecommitdiffstats
path: root/apps/s_client.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2006-03-15 17:45:43 +0000
committerNils Larsch <nils@openssl.org>2006-03-15 17:45:43 +0000
commit67b6f1ca889d789e04c58e5b2fbad0944bb1cd1a (patch)
tree9a367d762cfb0e55a2b8d224d8e7e1928089387c /apps/s_client.c
parenta4ff392503fbc9ccd50fb425a69e50a64058314c (diff)
fix problems found by coverity: remove useless code
Diffstat (limited to 'apps/s_client.c')
-rw-r--r--apps/s_client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/s_client.c b/apps/s_client.c
index 4eac4341c4..fed012230a 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -348,7 +348,7 @@ int MAIN(int, char **);
int MAIN(int argc, char **argv)
{
int off=0;
- SSL *con=NULL,*con2=NULL;
+ SSL *con=NULL;
X509_STORE *store = NULL;
int s,k,width,state=0;
char *cbuf=NULL,*sbuf=NULL,*mbuf=NULL;
@@ -1239,7 +1239,6 @@ shut:
end:
if(prexit) print_stuff(bio_c_out,con,1);
if (con != NULL) SSL_free(con);
- if (con2 != NULL) SSL_free(con2);
if (ctx != NULL) SSL_CTX_free(ctx);
if (cert)
X509_free(cert);