Imported Upstream version 1.4.16_pre1
This commit is contained in:
parent
047baae1ca
commit
212b4b8677
69 changed files with 10803 additions and 2698 deletions
|
@ -236,12 +236,9 @@ main (int argc, char **argv)
|
|||
result = np_net_ssl_init(sd);
|
||||
if (result == STATE_OK && check_cert == TRUE) {
|
||||
result = np_net_ssl_check_cert(days_till_exp);
|
||||
if(result != STATE_OK) {
|
||||
printf(_("CRITICAL - Cannot retrieve server certificate.\n"));
|
||||
}
|
||||
}
|
||||
}
|
||||
if(result != STATE_OK){
|
||||
if(result != STATE_OK || check_cert == TRUE){
|
||||
np_net_ssl_cleanup();
|
||||
if(sd) close(sd);
|
||||
return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue