Skip to content
Snippets Groups Projects
Commit 6ac62910 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström Committed by Niels Möller
Browse files

(read_pem): Fixed c99-style declaration.

Reported by Henrik Grubbström.

Rev: src/nettle/tools/pkcs1-conv.c:1.2
parent 0042623a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment