X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/d39f364a883ab4a791939320caa50761cd1e068f..033b4cef1e52d65786b00df47f57361b96ca4321:/sshsha.c diff --git a/sshsha.c b/sshsha.c index d47b1be9..7c10a9a7 100644 --- a/sshsha.c +++ b/sshsha.c @@ -1,3 +1,7 @@ +#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 @@ -177,6 +181,11 @@ 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