summaryrefslogtreecommitdiff
blob: 6a9a430652ccd838743092c7d11e1dce3d816ee6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- tls.c.orig	2006-09-05 21:45:09.000000000 +0200
+++ tls.c	2006-09-05 21:45:17.000000000 +0200
@@ -2,6 +2,7 @@
 #include "error.h"
 #include <openssl/ssl.h>
 #include <openssl/err.h>
+#include <string.h>
 
 int smtps = 0;
 SSL *ssl = NULL;
@@ -9,7 +10,6 @@
 void ssl_free(SSL *myssl) { SSL_shutdown(myssl); SSL_free(myssl); }
 void ssl_exit(int status) { if (ssl) ssl_free(ssl); _exit(status); }
 
-const char *strerror(int);
 const char *ssl_error()
 {
   int r = ERR_get_error();