summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--krl.c3
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c7f73af16..8f24fc6bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,13 @@
17 the corresponding ssh_put_bignum functions create. This fixes the 17 the corresponding ssh_put_bignum functions create. This fixes the
18 use of 16384-bit RSA keys (bug reported by Eivind Evensen). 18 use of 16384-bit RSA keys (bug reported by Eivind Evensen).
19 ok djm@ 19 ok djm@
20 - djm@cvs.openbsd.org 2014/06/24 00:52:02
21 [krl.c]
22 fix bug in KRL generation: multiple consecutive revoked certificate
23 serial number ranges could be serialised to an invalid format.
24
25 Readers of a broken KRL caused by this bug will fail closed, so no
26 should-have-been-revoked key will be accepted.
20 27
2120140618 2820140618
22 - (tim) [openssh/session.c] Work around to get chroot sftp working on UnixWare 29 - (tim) [openssh/session.c] Work around to get chroot sftp working on UnixWare
diff --git a/krl.c b/krl.c
index c7aa57e66..557a48ebb 100644
--- a/krl.c
+++ b/krl.c
@@ -14,7 +14,7 @@
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 */ 15 */
16 16
17/* $OpenBSD: krl.c,v 1.15 2014/04/28 03:09:18 djm Exp $ */ 17/* $OpenBSD: krl.c,v 1.16 2014/06/24 00:52:02 djm Exp $ */
18 18
19#include "includes.h" 19#include "includes.h"
20 20
@@ -575,6 +575,7 @@ revoked_certs_generate(struct revoked_certs *rc, Buffer *buf)
575 buffer_put_char(buf, state); 575 buffer_put_char(buf, state);
576 buffer_put_string(buf, 576 buffer_put_string(buf,
577 buffer_ptr(&sect), buffer_len(&sect)); 577 buffer_ptr(&sect), buffer_len(&sect));
578 buffer_clear(&sect);
578 } 579 }
579 580
580 /* If we are starting a new section then prepare it now */ 581 /* If we are starting a new section then prepare it now */