diff options
author | 2015-06-15 01:32:50 +0000 | |
---|---|---|
committer | 2015-06-15 01:32:50 +0000 | |
commit | e420dae5992d3b6a7b7588bf4ee0db7c284a1c04 (patch) | |
tree | ef42314c39ed7efb06e621071b68a961ca9f147e /usr.bin/ssh/ssh-rsa.c | |
parent | fix regress fallout due to CFLAGS vs CXXFLAGS (diff) | |
download | wireguard-openbsd-e420dae5992d3b6a7b7588bf4ee0db7c284a1c04.tar.xz wireguard-openbsd-e420dae5992d3b6a7b7588bf4ee0db7c284a1c04.zip |
return failure on RSA signature error; reported by Albert S
Diffstat (limited to 'usr.bin/ssh/ssh-rsa.c')
-rw-r--r-- | usr.bin/ssh/ssh-rsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-rsa.c b/usr.bin/ssh/ssh-rsa.c index 9f70231f917..16fb9b3a495 100644 --- a/usr.bin/ssh/ssh-rsa.c +++ b/usr.bin/ssh/ssh-rsa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-rsa.c,v 1.52 2014/06/24 01:13:21 djm Exp $ */ +/* $OpenBSD: ssh-rsa.c,v 1.53 2015/06/15 01:32:50 djm Exp $ */ /* * Copyright (c) 2000, 2003 Markus Friedl <markus@openbsd.org> * @@ -108,7 +108,7 @@ ssh_rsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, } if (b != NULL) sshbuf_free(b); - return 0; + return ret; } int |