X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/dfb88efd1c9503370bee8e677bbefad6ef41df85..a607fe54c9f20934b57e29e9040b9dd0a4decf3a:/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) {