diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-07-11 12:04:47 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-07-11 12:04:47 +0000 |
commit | 62e1e0e2190242eedd3ad19a1aef1f63e7f4ce20 (patch) | |
tree | 9b48d936ba0e89b2a9102bef0d82f0f03c6516ad /lib | |
parent | 9f9d3e11dc3edea54588bafb93ba61aa46120ce0 (diff) |
Missing initialization; OpenSSL PR#3289 and #3345 via OpenSSL trunk.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/src/crypto/evp/bio_b64.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libssl/src/crypto/evp/bio_b64.c b/lib/libssl/src/crypto/evp/bio_b64.c index 632d056168d..53b8bcf6159 100644 --- a/lib/libssl/src/crypto/evp/bio_b64.c +++ b/lib/libssl/src/crypto/evp/bio_b64.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bio_b64.c,v 1.18 2014/07/11 08:44:48 jsing Exp $ */ +/* $OpenBSD: bio_b64.c,v 1.19 2014/07/11 12:04:46 miod Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -224,7 +224,8 @@ b64_read(BIO *b, char *out, int outl) /* ctx->start=1; */ ctx->tmp_len = 0; } else if (ctx->start) { - q = p=(unsigned char *)ctx->tmp; + q = p =(unsigned char *)ctx->tmp; + num = 0; for (j = 0; j < i; j++) { if (*(q++) != '\n') continue; |