From: djm Date: Mon, 15 Jun 2015 01:32:50 +0000 (+0000) Subject: return failure on RSA signature error; reported by Albert S X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e420dae5992d3b6a7b7588bf4ee0db7c284a1c04;p=openbsd return failure on RSA signature error; reported by Albert S --- 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 * @@ -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