X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/a52f067e0510f49ff0473878280521bd11cd3c78..d5859615f641e5bbd853cd42aafd4fa577da17eb:/ssh.h diff --git a/ssh.h b/ssh.h index 058c5247..6a49863e 100644 --- a/ssh.h +++ b/ssh.h @@ -48,6 +48,7 @@ void rsasign(unsigned char *data, int length, struct RSAKey *key); void rsasanitise(struct RSAKey *key); int rsastr_len(struct RSAKey *key); void rsastr_fmt(char *str, struct RSAKey *key); +void rsa_fingerprint(char *str, int len, struct RSAKey *key); void freersakey(struct RSAKey *key); typedef unsigned int word32; @@ -122,8 +123,10 @@ struct ssh_kex { struct ssh_hostkey { void (*setkey)(char *data, int len); char *(*fmtkey)(void); + char *(*fingerprint)(void); int (*verifysig)(char *sig, int siglen, char *data, int datalen); char *name; + char *keytype; /* for host key cache */ }; struct ssh_compress {