]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Oops - remove SHA debugging from ssh2
authorSimon Tatham <anakin@pobox.com>
Sat, 9 Sep 2000 08:21:34 +0000 (08:21 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 9 Sep 2000 08:21:34 +0000 (08:21 +0000)
[originally from svn r578]

ssh.c

diff --git a/ssh.c b/ssh.c
index 82d61e984cb6921b7bb161ed9f6018e6800e422c..16e720438113b02e4cfd54aafdf52b088e317285 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);
 }