diff options
Diffstat (limited to 'net/SSLtelnet/files/patch-ad')
-rw-r--r-- | net/SSLtelnet/files/patch-ad | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/net/SSLtelnet/files/patch-ad b/net/SSLtelnet/files/patch-ad index 09ee0ce1b39d..72aea01f9043 100644 --- a/net/SSLtelnet/files/patch-ad +++ b/net/SSLtelnet/files/patch-ad @@ -1,6 +1,31 @@ ---- lib/libtelnet/sslapp.h.orig Fri Oct 16 21:14:59 1998 -+++ lib/libtelnet/sslapp.h Fri Oct 16 21:15:07 1998 -@@ -53,6 +53,7 @@ +--- lib/libtelnet/sslapp.h.orig Sat Aug 2 00:56:21 1997 ++++ lib/libtelnet/sslapp.h Fri Feb 21 08:39:17 2003 +@@ -12,6 +12,12 @@ + * + */ + ++/* Hack upon hack */ ++#ifdef extern ++#define SSLAPP_EXTERN ++#undef extern ++#endif ++ + #ifdef USE_SSL + + #include <stdio.h> +@@ -41,6 +47,11 @@ + #include "x509.h" + #include "ssl.h" + ++#ifdef SSLAPP_EXTERN ++#define extern ++#undef SSLAPP_EXTERN ++#endif ++ + extern BIO *bio_err; + extern SSL *ssl_con; + extern SSL_CTX *ssl_ctx; +@@ -53,6 +64,7 @@ extern int ssl_disabled_flag; extern int ssl_cert_required; extern int ssl_certsok_flag; |