summaryrefslogtreecommitdiff
path: root/ssh-rsa.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-06-15 01:32:50 +0000
committerDamien Miller <djm@mindrot.org>2015-06-15 13:45:24 +1000
commit4ef702e1244633c1025ec7cfe044b9ab267097bf (patch)
tree02a2576886515bf9dd682b8053764a77a63e626b /ssh-rsa.c
parenta170f22baf18af0b1acf2788b8b715605f41a1f9 (diff)
downloadopenssh-git-4ef702e1244633c1025ec7cfe044b9ab267097bf.tar.gz
upstream commit
return failure on RSA signature error; reported by Albert S Upstream-ID: e61bb93dbe0349625807b0810bc213a6822121fa
Diffstat (limited to 'ssh-rsa.c')
-rw-r--r--ssh-rsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-rsa.c b/ssh-rsa.c
index aef798da..cdc18a41 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 <markus@openbsd.org>
*
@@ -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