projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ccc75b
)
Oops - remove SHA debugging from ssh2
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 9 Sep 2000 08:21:34 +0000
(08:21 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 9 Sep 2000 08:21:34 +0000
(08:21 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@578
cda61777
-01e9-0310-a592-
d414129be87e
ssh.c
patch
|
blob
|
blame
|
history
diff --git
a/ssh.c
b/ssh.c
index
82d61e9
..
16e7204
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-730,13
+730,8
@@
static int ssh_versioncmp(char *a, char *b) {
#include <stdio.h>
void sha_string(SHA_State *s, void *str, int len) {
unsigned char lenblk[4];
-static FILE *fp;
PUT_32BIT(lenblk, len);
-if (!fp) fp = fopen("h:\\statham\\windows\\putty\\data","wb");
-fwrite(lenblk, 4, 1, fp);
SHA_Bytes(s, lenblk, 4);
-fwrite(str, len, 1, fp);
-fflush(fp);
SHA_Bytes(s, str, len);
}