mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
Ugh, this code defines `extern' and then includes non-application
headers. Hack around the hack. The fact that this port was broken with OpenSSL 0.9.7 was Reported by: kris
This commit is contained in:
parent
1b9c93aac5
commit
a6dfff85ce
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76049
1 changed files with 28 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue