summaryrefslogtreecommitdiff
path: root/package/lynx/patches/patch-WWW_Library_Implementation_HTUtils_h
blob: c8217b70e9807d99ca1340c89b040fa1cec3201d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- lynx2-8-8.orig/WWW/Library/Implementation/HTUtils.h	2014-02-05 01:50:18.000000000 +0100
+++ lynx2-8-8/WWW/Library/Implementation/HTUtils.h	2014-03-21 22:14:07.000000000 +0100
@@ -725,6 +725,8 @@ extern int WWW_TraceMask;
 
 #define SHORTENED_RBIND		/* FIXME: do this in configure-script */
 
+#ifdef DONT_USE_SSL
+#else
 #ifdef USE_SSL
 
 #define free_func free__func
@@ -765,6 +767,7 @@ extern int WWW_TraceMask;
 
 #undef free_func
 #endif /* USE_SSL */
+#endif
 
 #ifdef HAVE_BSD_STDLIB_H
 #include <bsd/stdlib.h>		/* prototype for arc4random.h */
@@ -801,11 +804,14 @@ extern "C" {
 
     extern FILE *TraceFP(void);
 
+#ifdef DONT_USE_SSL
+#else
 #ifdef USE_SSL
     extern SSL *HTGetSSLHandle(void);
     extern void HTSSLInitPRNG(void);
     extern int HTGetSSLCharacter(void *handle);
 #endif				/* USE_SSL */
+#endif
 
 #ifdef __cplusplus
 }