diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | krl.c | 3 |
2 files changed, 9 insertions, 1 deletions
@@ -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 | ||
21 | 20140618 | 28 | 20140618 |
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 |
@@ -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(§), buffer_len(§)); | 577 | buffer_ptr(§), buffer_len(§)); |
578 | buffer_clear(§); | ||
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 */ |