diff options
author | 2014-07-11 12:04:46 +0000 | |
---|---|---|
committer | 2014-07-11 12:04:46 +0000 | |
commit | f4d3dc07be6f020e453deb096a41876ab56d3617 (patch) | |
tree | 027b86407dadaeeafd8f60d3a564ce638159a10a /lib/libssl/src | |
parent | Simplify the code that handles the HTTP headers by using an RB tree (diff) | |
download | wireguard-openbsd-f4d3dc07be6f020e453deb096a41876ab56d3617.tar.xz wireguard-openbsd-f4d3dc07be6f020e453deb096a41876ab56d3617.zip |
Missing initialization; OpenSSL PR#3289 and #3345 via OpenSSL trunk.
Diffstat (limited to 'lib/libssl/src')
-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; |