patch-WWW_Library_Implementation_HTUtils_h 855 B

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