From: simon Date: Fri, 23 Mar 2001 09:20:43 +0000 (+0000) Subject: Fix a couple of silly compiler warnings X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/014970c84b867041e717365d0e3254a19eb28480 Fix a couple of silly compiler warnings git-svn-id: svn://svn.tartarus.org/sgt/putty@1022 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/ssh.h b/ssh.h index b2803b98..cdb37800 100644 --- a/ssh.h +++ b/ssh.h @@ -51,6 +51,7 @@ 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); +int rsa_verify(struct RSAKey *key); void freersakey(struct RSAKey *key); typedef unsigned int word32; diff --git a/sshrsa.c b/sshrsa.c index 19386239..9947ceff 100644 --- a/sshrsa.c +++ b/sshrsa.c @@ -180,6 +180,8 @@ int rsa_verify(struct RSAKey *key) { sfree(ed); if (cmp != 0) return 0; + + return 1; } void freersakey(struct RSAKey *key) {