diff options
Diffstat (limited to 'plugins/sslutils.c')
-rw-r--r-- | plugins/sslutils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sslutils.c b/plugins/sslutils.c index aa571b6c..64f4d61c 100644 --- a/plugins/sslutils.c +++ b/plugins/sslutils.c | |||
@@ -36,7 +36,7 @@ static SSL *s=NULL; | |||
36 | static int initialized=0; | 36 | static int initialized=0; |
37 | 37 | ||
38 | int np_net_ssl_init (int sd) { | 38 | int np_net_ssl_init (int sd) { |
39 | return np_net_ssl_init_with_hostname(sd, NULL); | 39 | return np_net_ssl_init_with_hostname(sd, NULL); |
40 | } | 40 | } |
41 | 41 | ||
42 | int np_net_ssl_init_with_hostname (int sd, char *host_name) { | 42 | int np_net_ssl_init_with_hostname (int sd, char *host_name) { |
@@ -97,7 +97,7 @@ int np_net_ssl_read(void *buf, int num){ | |||
97 | int np_net_ssl_check_cert(int days_till_exp){ | 97 | int np_net_ssl_check_cert(int days_till_exp){ |
98 | # ifdef USE_OPENSSL | 98 | # ifdef USE_OPENSSL |
99 | X509 *certificate=NULL; | 99 | X509 *certificate=NULL; |
100 | ASN1_STRING *tm; | 100 | ASN1_STRING *tm; |
101 | int offset; | 101 | int offset; |
102 | struct tm stamp; | 102 | struct tm stamp; |
103 | float time_left; | 103 | float time_left; |