projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
544ebbc
)
Set s->read_ahead in SSL_new because SSL_clear no longer modifies it.
author
Bodo Möller
<bodo@openssl.org>
Tue, 26 Sep 2000 11:38:05 +0000
(11:38 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Tue, 26 Sep 2000 11:38:05 +0000
(11:38 +0000)
ssl/ssl_lib.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_lib.c
b/ssl/ssl_lib.c
index d77d340388478a2c58ba503e73bf123fc9d7f15b..fec98dd8f43d44eee71df442be777ec74a43c4a6 100644
(file)
--- a/
ssl/ssl_lib.c
+++ b/
ssl/ssl_lib.c
@@
-231,6
+231,7
@@
SSL *SSL_new(SSL_CTX *ctx)
s->server=(ctx->method->ssl_accept == ssl_undefined_function)?0:1;
s->options=ctx->options;
s->mode=ctx->mode;
+ s->read_ahead=ctx->read_ahead; /* used to happen in SSL_clear */
SSL_clear(s);
CRYPTO_new_ex_data(ssl_meth,s,&s->ex_data);