patch-WWW_Library_Implementation_HTUtils_h 845 B

12345678910111213141516171819202122232425262728293031323334
  1. --- lynx2-8-7.orig/WWW/Library/Implementation/HTUtils.h 2009-05-25 23:05:31.000000000 +0200
  2. +++ lynx2-8-7/WWW/Library/Implementation/HTUtils.h 2010-05-29 12:56:42.125000000 +0200
  3. @@ -677,6 +677,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. @@ -717,6 +719,7 @@ extern int WWW_TraceMask;
  10. #undef free_func
  11. #endif /* USE_SSL */
  12. +#endif
  13. #ifdef HAVE_LIBDMALLOC
  14. #include <dmalloc.h> /* Gray Watson's library */
  15. @@ -747,11 +750,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. }