]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - sshmd5.c
Mention bps units of terminal speeds (FWLIW).
[PuTTY.git] / sshmd5.c
index b4244fe29af269753da8c75cfca2183ffad7c70e..7fbd8c772eeef17529f8b7c2a695cb1ae93c8fe1 100644 (file)
--- 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)