diff options
author | Damien Miller <djm@mindrot.org> | 2013-07-25 03:52:48 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2013-07-25 03:52:48 +0200 |
commit | c8669a8cd24952b3f16a44eac63d2b6ce8a6343a (patch) | |
tree | a1e55e3b089be0c8796b343bc5c0f3948d69b7b7 | |
parent | - djm@cvs.openbsd.org 2013/07/20 01:55:13 (diff) | |
download | openssh-c8669a8cd24952b3f16a44eac63d2b6ce8a6343a.tar.xz openssh-c8669a8cd24952b3f16a44eac63d2b6ce8a6343a.zip |
- djm@cvs.openbsd.org 2013/07/20 22:20:42
[krl.c]
fix verification error in (as-yet usused) KRL signature checking path
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | krl.c | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +20130725 + - (djm) OpenBSD CVS Sync + - djm@cvs.openbsd.org 2013/07/20 22:20:42 + [krl.c] + fix verification error in (as-yet usused) KRL signature checking path + 20130720 - (djm) OpenBSD CVS Sync - markus@cvs.openbsd.org 2013/07/19 07:37:48 @@ -14,7 +14,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $OpenBSD: krl.c,v 1.12 2013/06/20 19:15:06 markus Exp $ */ +/* $OpenBSD: krl.c,v 1.13 2013/07/20 22:20:42 djm Exp $ */ #include "includes.h" @@ -973,7 +973,7 @@ ssh_krl_from_blob(Buffer *buf, struct ssh_krl **krlp, } /* Check signature over entire KRL up to this point */ if (key_verify(key, blob, blen, - buffer_ptr(buf), buffer_len(buf) - sig_off) == -1) { + buffer_ptr(buf), buffer_len(buf) - sig_off) != 1) { error("bad signaure on KRL"); goto out; } |