summaryrefslogtreecommitdiff
path: root/krl.c
diff options
context:
space:
mode:
Diffstat (limited to 'krl.c')
-rw-r--r--krl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/krl.c b/krl.c
index 485057029..ca2010a77 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.2 2013/01/18 00:24:58 djm Exp $ */ 17/* $OpenBSD: krl.c,v 1.3 2013/01/18 03:00:32 djm Exp $ */
18 18
19#include "includes.h" 19#include "includes.h"
20 20
@@ -595,7 +595,7 @@ revoked_certs_generate(struct revoked_certs *rc, Buffer *buf)
595 /* Perform section-specific processing */ 595 /* Perform section-specific processing */
596 switch (state) { 596 switch (state) {
597 case KRL_SECTION_CERT_SERIAL_LIST: 597 case KRL_SECTION_CERT_SERIAL_LIST:
598 for (i = rs->lo; i < contig; i++) 598 for (i = 0; i < contig; i++)
599 buffer_put_int64(&sect, rs->lo + i); 599 buffer_put_int64(&sect, rs->lo + i);
600 break; 600 break;
601 case KRL_SECTION_CERT_SERIAL_RANGE: 601 case KRL_SECTION_CERT_SERIAL_RANGE: