Initialize num properly.

PR#3289
PR#3345
This commit is contained in:
Dr. Stephen Henson 2014-05-06 14:07:37 +01:00
parent 546b1b4384
commit 3ba1e406c2

View File

@ -226,6 +226,7 @@ static int b64_read(BIO *b, char *out, int outl)
else if (ctx->start)
{
q=p=(unsigned char *)ctx->tmp;
num = 0;
for (j=0; j<i; j++)
{
if (*(q++) != '\n') continue;