From 3a78d9dd095e7227e898a0bfed5adda25c6bf660 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 23 Mar 2001 09:20:43 +0000 Subject: [PATCH] Fix a couple of silly compiler warnings [originally from svn r1022] --- ssh.h | 1 + sshrsa.c | 2 ++ 2 files changed, 3 insertions(+) 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) {