Add option to enable crypto debug output.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@509 7dcaeef0-15fb-0310-b436-a5af3365683c
Этот коммит содержится в:
родитель
5b2586312a
Коммит
59f04bfddd
@ -62,3 +62,7 @@ if (WITH_SERVER)
|
|||||||
set(WITH_SERVER 1)
|
set(WITH_SERVER 1)
|
||||||
endif (WITH_SERVER)
|
endif (WITH_SERVER)
|
||||||
|
|
||||||
|
if (WITH_DEBUG_CRYPTO)
|
||||||
|
set(DEBUG_CRYPTO 1)
|
||||||
|
endif (WITH_DEBUG_CRYPTO)
|
||||||
|
|
||||||
|
@ -2,3 +2,4 @@ option(WITH_LIBZ "Build with ZLIB support" ON)
|
|||||||
option(WITH_SSH1 "Build with SSH1 support" OFF)
|
option(WITH_SSH1 "Build with SSH1 support" OFF)
|
||||||
option(WITH_SERVER "Build with SSH server support" ON)
|
option(WITH_SERVER "Build with SSH server support" ON)
|
||||||
option(WITH_STATIC_LIB "Build with a static library" OFF)
|
option(WITH_STATIC_LIB "Build with a static library" OFF)
|
||||||
|
option(WITH_DEBUG_CRYPTO "Build with cryto debut output" OFF)
|
||||||
|
@ -68,6 +68,9 @@
|
|||||||
/* Define to 1 if you want to enable server support */
|
/* Define to 1 if you want to enable server support */
|
||||||
#cmakedefine WITH_SERVER 1
|
#cmakedefine WITH_SERVER 1
|
||||||
|
|
||||||
|
/* Define to 1 if you want to enable debug output for crypto functions */
|
||||||
|
#cmakedefine DEBUG_CRYPTO 1
|
||||||
|
|
||||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||||
significant byte first (like Motorola and SPARC, unlike Intel). */
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||||
#if defined AC_APPLE_UNIVERSAL_BUILD
|
#if defined AC_APPLE_UNIVERSAL_BUILD
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user