diff options
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r-- | plugins/check_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index 46c0c13..7e3f82a 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
@@ -879,7 +879,7 @@ check_http (void) | |||
879 | elapsed_time_connect = (double)microsec_connect / 1.0e6; | 879 | elapsed_time_connect = (double)microsec_connect / 1.0e6; |
880 | if (use_ssl == TRUE) { | 880 | if (use_ssl == TRUE) { |
881 | gettimeofday (&tv_temp, NULL); | 881 | gettimeofday (&tv_temp, NULL); |
882 | result = np_net_ssl_init_with_hostname_version_and_certificate(sd, (use_sni ? host_name : NULL), ssl_version, client_cert, client_privkey); | 882 | result = np_net_ssl_init_with_hostname_version_and_cert(sd, (use_sni ? host_name : NULL), ssl_version, client_cert, client_privkey); |
883 | if (result != STATE_OK) | 883 | if (result != STATE_OK) |
884 | return result; | 884 | return result; |
885 | microsec_ssl = deltime (tv_temp); | 885 | microsec_ssl = deltime (tv_temp); |