X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/9bfedea6dc2da13773d4105384bac6d201172c87..9ec95c23db58dac88a48fae594ea978c148d1c61:/sshmd5.c diff --git a/sshmd5.c b/sshmd5.c index b4244fe2..7fbd8c77 100644 --- a/sshmd5.c +++ b/sshmd5.c @@ -210,7 +210,7 @@ void MD5Final(unsigned char output[16], struct MD5Context *s) static void *md5_make_context(void) { - return smalloc(2*sizeof(struct MD5Context)); + return snewn(2, struct MD5Context); } static void md5_free_context(void *handle)