From 6ac6291052ffbe4730987e15ee9965a6a8d59f33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Sat, 8 Apr 2006 22:57:07 +0200
Subject: [PATCH] =?UTF-8?q?(read=5Fpem):=20Fixed=20c99-style=20declaration?=
 =?UTF-8?q?.=20Reported=20by=20Henrik=20Grubbstr=C3=B6m.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Rev: src/nettle/tools/pkcs1-conv.c:1.2
---
 tools/pkcs1-conv.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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;
 
-- 
GitLab