summaryrefslogtreecommitdiffstats
path: root/plugins/sslutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sslutils.c')
-rw-r--r--plugins/sslutils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sslutils.c b/plugins/sslutils.c
index aa571b6..64f4d61 100644
--- a/plugins/sslutils.c
+++ b/plugins/sslutils.c
@@ -36,7 +36,7 @@ static SSL *s=NULL;
36static int initialized=0; 36static int initialized=0;
37 37
38int np_net_ssl_init (int sd) { 38int 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
42int np_net_ssl_init_with_hostname (int sd, char *host_name) { 42int np_net_ssl_init_with_hostname (int sd, char *host_name) {
@@ -97,7 +97,7 @@ int np_net_ssl_read(void *buf, int num){
97int np_net_ssl_check_cert(int days_till_exp){ 97int 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;