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:
6d0dcbe
)
Don't modify s->read_ahead in SSL_clear, which is called from
author
Bodo Möller
<bodo@openssl.org>
Tue, 26 Sep 2000 11:30:59 +0000
(11:30 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Tue, 26 Sep 2000 11:30:59 +0000
(11:30 +0000)
accept/connect functions; those should not change the
read_ahead setting of the SSL structure.
ssl/ssl_lib.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_lib.c
b/ssl/ssl_lib.c
index 635b25062e8b4775d7a9d73554fbad327f3cc89e..d77d340388478a2c58ba503e73bf123fc9d7f15b 100644
(file)
--- a/
ssl/ssl_lib.c
+++ b/
ssl/ssl_lib.c
@@
-119,7
+119,9
@@
int SSL_clear(SSL *s)
s->client_version=s->version;
s->rwstate=SSL_NOTHING;
s->rstate=SSL_ST_READ_HEADER;
+#if 0
s->read_ahead=s->ctx->read_ahead;
+#endif
if (s->init_buf != NULL)
{