From 13f5f768bc4861bff58074717fc19764ee347ac9 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 18 Jan 2013 15:32:03 +1100 Subject: - djm@cvs.openbsd.org 2013/01/18 03:00:32 [krl.c] fix KRL generation bug for list sections --- krl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'krl.c') diff --git a/krl.c b/krl.c index 48505702..ca2010a7 100644 --- a/krl.c +++ b/krl.c @@ -14,7 +14,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $OpenBSD: krl.c,v 1.2 2013/01/18 00:24:58 djm Exp $ */ +/* $OpenBSD: krl.c,v 1.3 2013/01/18 03:00:32 djm Exp $ */ #include "includes.h" @@ -595,7 +595,7 @@ revoked_certs_generate(struct revoked_certs *rc, Buffer *buf) /* Perform section-specific processing */ switch (state) { case KRL_SECTION_CERT_SERIAL_LIST: - for (i = rs->lo; i < contig; i++) + for (i = 0; i < contig; i++) buffer_put_int64(§, rs->lo + i); break; case KRL_SECTION_CERT_SERIAL_RANGE: -- cgit v1.2.1