Ver Fonte

Add DEBUG_SCHANNEL option

Bart van Strien há 6 anos atrás
pai
commit
dac7478af0
2 ficheiros alterados com 2 adições e 0 exclusões
  1. 1 0
      src/CMakeLists.txt
  2. 1 0
      src/common/config.h.in

+ 1 - 0
src/CMakeLists.txt

@@ -68,6 +68,7 @@ elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
 
 	option (USE_WINSOCK "Use winsock instead of BSD sockets (windows-only)" OFF)
 endif ()
+option (DEBUG_SCHANNEL "Enable debug output in schannel backend" OFF)
 
 ### Dependencies
 target_link_libraries (https https-common)

+ 1 - 0
src/common/config.h.in

@@ -4,3 +4,4 @@
 #cmakedefine USE_NSURL_BACKEND
 #cmakedefine USE_WINSOCK
 #define DLLEXPORT @DLLEXPORT@
+#cmakedefine DEBUG_SCHANNEL