From 4ef702e1244633c1025ec7cfe044b9ab267097bf Mon Sep 17 00:00:00 2001 From: "djm@openbsd.org" Date: Mon, 15 Jun 2015 01:32:50 +0000 Subject: [PATCH] upstream commit return failure on RSA signature error; reported by Albert S Upstream-ID: e61bb93dbe0349625807b0810bc213a6822121fa --- ssh-rsa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssh-rsa.c b/ssh-rsa.c index aef798da6..cdc18a416 100644 --- a/ssh-rsa.c +++ b/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 * @@ -113,7 +113,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