fix problems found by coverity: remove useless code

This commit is contained in:
Nils Larsch
2006-03-15 17:45:43 +00:00
parent a4ff392503
commit 67b6f1ca88
17 changed files with 12 additions and 48 deletions

View File

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