projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
The WinSock library is now loaded at run-time, which means we can
[u/mdw/putty]
/
sshsha.c
diff --git
a/sshsha.c
b/sshsha.c
index
d8fc569
..
d7c1f43
100644
(file)
--- a/
sshsha.c
+++ b/
sshsha.c
@@
-195,7
+195,7
@@
void SHA_Simple(void *p, int len, unsigned char *output)
static void *sha1_make_context(void)
{
- return s
malloc(2*sizeof(SHA_State)
);
+ return s
newn(2, SHA_State
);
}
static void sha1_free_context(void *handle)