diff options
Diffstat (limited to 'krl.c')
-rw-r--r-- | krl.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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.17 2014/06/24 01:13:21 djm Exp $ */ | 17 | /* $OpenBSD: krl.c,v 1.18 2014/11/17 00:21:40 djm Exp $ */ |
18 | 18 | ||
19 | #include "includes.h" | 19 | #include "includes.h" |
20 | 20 | ||
@@ -686,6 +686,7 @@ ssh_krl_to_blob(struct ssh_krl *krl, Buffer *buf, const Key **sign_keys, | |||
686 | 686 | ||
687 | /* Store sections for revoked certificates */ | 687 | /* Store sections for revoked certificates */ |
688 | TAILQ_FOREACH(rc, &krl->revoked_certs, entry) { | 688 | TAILQ_FOREACH(rc, &krl->revoked_certs, entry) { |
689 | buffer_clear(§); | ||
689 | if (revoked_certs_generate(rc, §) != 0) | 690 | if (revoked_certs_generate(rc, §) != 0) |
690 | goto out; | 691 | goto out; |
691 | buffer_put_char(buf, KRL_SECTION_CERTIFICATES); | 692 | buffer_put_char(buf, KRL_SECTION_CERTIFICATES); |