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 | |
parent | a170f22baf18af0b1acf2788b8b715605f41a1f9 (diff) |
upstream commit
return failure on RSA signature error; reported by Albert S
Upstream-ID: e61bb93dbe0349625807b0810bc213a6822121fa
-rw-r--r-- | ssh-rsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-rsa.c,v 1.52 2014/06/24 01:13:21 djm Exp $ */ | 1 | /* $OpenBSD: ssh-rsa.c,v 1.53 2015/06/15 01:32:50 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000, 2003 Markus Friedl <markus@openbsd.org> | 3 | * Copyright (c) 2000, 2003 Markus Friedl <markus@openbsd.org> |
4 | * | 4 | * |
@@ -113,7 +113,7 @@ ssh_rsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, | |||
113 | } | 113 | } |
114 | if (b != NULL) | 114 | if (b != NULL) |
115 | sshbuf_free(b); | 115 | sshbuf_free(b); |
116 | return 0; | 116 | return ret; |
117 | } | 117 | } |
118 | 118 | ||
119 | int | 119 | int |