From 1864344036fe515d3fa4ea8cfd2f5c2933202ff5 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 9 Sep 2000 08:21:34 +0000 Subject: [PATCH] Oops - remove SHA debugging from ssh2 [originally from svn r578] --- ssh.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ssh.c b/ssh.c index 82d61e98..16e72043 100644 --- a/ssh.c +++ b/ssh.c @@ -730,13 +730,8 @@ static int ssh_versioncmp(char *a, char *b) { #include 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); }