aboutsummaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorAlberto Aguirre <albaguirre@gmail.com>2018-03-02 15:01:01 -0600
committerAndreas Schneider <asn@cryptomilk.org>2018-03-11 22:58:49 +0100
commit7e1e0e5098beeaf926dc53e35f9e9f35915d5515 (patch)
tree72baae65d5b8546e2c3885b2d0c3fb7bb31d07fc /config.h.cmake
parent3fa0e3959ced18fcc2d6e31c55ae658ba9bc43c5 (diff)
downloadlibssh-7e1e0e5098beeaf926dc53e35f9e9f35915d5515.tar.gz
libssh-7e1e0e5098beeaf926dc53e35f9e9f35915d5515.tar.xz
libssh-7e1e0e5098beeaf926dc53e35f9e9f35915d5515.zip
misc: Use SecureZeroMemory if available for explicit_bzero
Useful on Windows platforms where SecureZeroMemory is available. Signed-off-by: Alberto Aguirre <albaguirre@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index dea776ed..3a14b450 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -166,6 +166,9 @@
/* Define to 1 if you have the `memset_s' function. */
#cmakedefine HAVE_MEMSET_S 1
+/* Define to 1 if you have the `SecureZeroMemory' function. */
+#cmakedefine HAVE_SECURE_ZERO_MEMORY 1
+
/*************************** LIBRARIES ***************************/
/* Define to 1 if you have the `crypto' library (-lcrypto). */