Skip to content

Commit

Permalink
bail out when we cannot connect
Browse files Browse the repository at this point in the history
  • Loading branch information
ioerror committed Aug 14, 2010
1 parent 860148c commit a816eca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sslscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,8 @@ int testRenegotiation(struct sslCheckOptions *options, SSL_METHOD *sslMethod)
fprintf(stderr, "%sERROR: Could not connect.%s\n", COL_RED, RESET);
renOut->supported = false;
status = false;
freeRenegotiationOutput( renOut );
exit(status);
}
outputRenegotiation(options, renOut);
freeRenegotiationOutput( renOut );
Expand Down

0 comments on commit a816eca

Please sign in to comment.