X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/dfb88efd1c9503370bee8e677bbefad6ef41df85..f7aa4b367eaf2c1e928f97263bcf4da74680aff3:/windows/winmisc.c diff --git a/windows/winmisc.c b/windows/winmisc.c index 2166f453..c74f1e7a 100644 --- a/windows/winmisc.c +++ b/windows/winmisc.c @@ -68,6 +68,7 @@ Filename *filename_deserialise(void *vdata, int maxsize, int *used) return filename_from_str(data); } +#ifndef NO_SECUREZEROMEMORY /* * Windows implementation of smemclr (see misc.c) using SecureZeroMemory. */ @@ -75,6 +76,7 @@ void smemclr(void *b, size_t n) { if (b && n > 0) SecureZeroMemory(b, n); } +#endif char *get_username(void) {