]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(read_pem): Fixed c99-style declaration.
authorHenrik Grubbström (Grubba) <grubba@grubba.org>
Sat, 8 Apr 2006 20:57:07 +0000 (22:57 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sat, 8 Apr 2006 20:57:07 +0000 (22:57 +0200)
Reported by Henrik Grubbström.

Rev: src/nettle/tools/pkcs1-conv.c:1.2

tools/pkcs1-conv.c

index 0722b6b9f5c7d0adbe1e2428a37706cf3e4fced2..d402da07cbd0fcdb2a2b213254351ab4eb36f2d4 100644 (file)
@@ -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;