From: Henrik Grubbström (Grubba) Date: Sat, 8 Apr 2006 20:57:07 +0000 (+0200) Subject: (read_pem): Fixed c99-style declaration. X-Git-Tag: head_before_experimental_merge_20060516~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ac6291052ffbe4730987e15ee9965a6a8d59f33;p=thirdparty%2Fnettle.git (read_pem): Fixed c99-style declaration. Reported by Henrik Grubbström. Rev: src/nettle/tools/pkcs1-conv.c:1.2 --- diff --git a/tools/pkcs1-conv.c b/tools/pkcs1-conv.c index 0722b6b9..d402da07 100644 --- a/tools/pkcs1-conv.c +++ b/tools/pkcs1-conv.c @@ -186,9 +186,11 @@ read_pem(struct nettle_buffer *buffer, FILE *f, /* Find start line */ for (;;) { + int res; + nettle_buffer_reset(buffer); - int res = read_line(buffer, f); + res = read_line(buffer, f); if (res != 1) return res;