diff options
author | Alberto Aguirre <albaguirre@gmail.com> | 2018-03-02 15:01:00 -0600 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-03-11 22:58:13 +0100 |
commit | 3fa0e3959ced18fcc2d6e31c55ae658ba9bc43c5 (patch) | |
tree | 0b5425abc20517b59289ddc326dd5f9721ec6299 /config.h.cmake | |
parent | dd20253fec90fa02229e6739842208b60ed0b25d (diff) | |
download | libssh-3fa0e3959ced18fcc2d6e31c55ae658ba9bc43c5.tar.gz libssh-3fa0e3959ced18fcc2d6e31c55ae658ba9bc43c5.tar.xz libssh-3fa0e3959ced18fcc2d6e31c55ae658ba9bc43c5.zip |
misc: Use memset_s if available for explicit_bzero
Useful on OSX where memset_s 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.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake index f3b69635..dea776ed 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -163,6 +163,9 @@ /* Define to 1 if you have the `explicit_bzero' function. */ #cmakedefine HAVE_EXPLICIT_BZERO 1 +/* Define to 1 if you have the `memset_s' function. */ +#cmakedefine HAVE_MEMSET_S 1 + /*************************** LIBRARIES ***************************/ /* Define to 1 if you have the `crypto' library (-lcrypto). */ |