0002-fix-ssl.patch 779 B

123456789101112131415161718192021
  1. config: fix SSL detection
  2. The @WEBSOCK_HAVE_SSL@ is replaced at configure time with either a 1 or 0.
  3. The rest of the code is simply checking to see if WEBSOCK_HAVE_SSL is
  4. defined at all. Using a #undef WEBSOCK_HAVE_SSL will cause configure
  5. to either comment it out or change the line to
  6. "#define WEBSOCK_HAVE_SSL 1".
  7. Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
  8. diff -durN a/src/websock_config.h.in b/src/websock_config.h.in
  9. --- a/src/websock_config.h.in
  10. +++ b/src/websock_config.h.in
  11. @@ -4,6 +4,6 @@
  12. #define WEBSOCK_PACKAGE_STRING @WEBSOCK_PACKAGE_STRING@
  13. #define WEBSOCK_PACKAGE_VERSION @WEBSOCK_PACKAGE_VERSION@
  14. #define WEBSOCK_PACKAGE_NAME @WEBSOCK_PACKAGE_NAME@
  15. -#define WEBSOCK_HAVE_SSL @WEBSOCK_HAVE_SSL@
  16. +#undef WEBSOCK_HAVE_SSL
  17. #endif