X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=windows%2Fwinmisc.c;h=c74f1e7a6b90164eb3ab39f0c418073554a5a5da;hb=3e22c99c9a3c28e042f2dc3a50fadf95e7c277e7;hp=2166f4530ab6d9abb970580a48e6c22c15872a9b;hpb=aa5bae89163f96453ee84541c1e96c650b3bc8f8;p=PuTTY.git 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) {