+ Fix x509

This commit is contained in:
garnier-quentin 2016-01-19 20:57:54 +01:00
parent dba1f7cb21
commit fb2dc791ca
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ sub run {
PeerHost => $self->{option_results}->{hostname},
PeerPort => $self->{option_results}->{port},
$self->{option_results}->{servername} ? ( SSL_hostname => $self->{option_results}->{servername} ):(),
)
);
if (!defined($client)) {
$self->{output}->output_add(severity => 'CRITICAL',
short_msg => "failed to accept or ssl handshake: $!,$SSL_ERROR");