X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sshsha.c;h=48cabb5c5c38c2f9383b016502b8579272eacb79;hb=9b15a8010102fc83dcd7eef78014a65f11619d63;hp=7c10a9a751aa0d3eb8f8a5cb066b8cdacde1ce01;hpb=0f1e4491897cc33909db68e2c4d8bd702e663c07;p=PuTTY.git diff --git a/sshsha.c b/sshsha.c index 7c10a9a7..48cabb5c 100644 --- a/sshsha.c +++ b/sshsha.c @@ -1,7 +1,3 @@ -#include /* FIXME */ -#include /* FIXME */ -#include "putty.h" /* FIXME */ - /* * SHA1 hash algorithm. Used in SSH2 as a MAC, and the transform is * also used as a `stirring' function for the PuTTY random number @@ -11,8 +7,6 @@ #include "ssh.h" -typedef unsigned int uint32; - /* ---------------------------------------------------------------------- * Core SHA algorithm: processes 16-word blocks into a message digest. */ @@ -181,11 +175,6 @@ static void sha1_key(SHA_State *s1, SHA_State *s2, unsigned char *key, int len) { unsigned char foo[64]; int i; - {int j; - debug(("Key supplied is:\r\n")); - for (j=0; j