X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/5c58ad2d1527936b4d30891497eef48bde0fe1f3..3bdaf79d9fc23348ef36e681450dd0d3fef4cd66:/ssh.h diff --git a/ssh.h b/ssh.h index a2b64012..19a514cd 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; @@ -156,7 +157,7 @@ Bignum dh_create_e(void); Bignum dh_find_K(Bignum f); int loadrsakey(char *filename, struct RSAKey *key, char *passphrase); -int rsakey_encrypted(char *filename); +int rsakey_encrypted(char *filename, char **comment); void des3_decrypt_pubkey(unsigned char *key, unsigned char *blk, int len);