Import OpenSSL-1.0.1h.
[dragonfly.git] / crypto / openssl / crypto / evp / bio_b64.c
index ac6d441..16863fe 100644 (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;