diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-06-15 01:32:50 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-06-15 13:45:24 +1000 |
commit | 4ef702e1244633c1025ec7cfe044b9ab267097bf (patch) | |
tree | 02a2576886515bf9dd682b8053764a77a63e626b /ssh-rsa.c | |
parent | a170f22baf18af0b1acf2788b8b715605f41a1f9 (diff) | |
download | openssh-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |