diff options
author | Matt Caswell <matt@openssl.org> | 2015-02-03 10:48:28 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-03-26 15:02:00 +0000 |
commit | 295c3f41113f4ff537fb95e29f7f709ba03c6a21 (patch) | |
tree | cb292176111dcc5a461969c3e807e233c7e6d3e5 /ssl/ssl_lib.c | |
parent | 7a7048aff053929feaadee4895749fe0a661d353 (diff) |
Move s->rstate to s->rlayer.rstate
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r-- | ssl/ssl_lib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 892f2e3383..abb3fd301f 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -215,7 +215,6 @@ int SSL_clear(SSL *s) s->version = s->method->version; s->client_version = s->version; s->rwstate = SSL_NOTHING; - s->rstate = SSL_ST_READ_HEADER; if (s->init_buf != NULL) { BUF_MEM_free(s->init_buf); @@ -2830,7 +2829,7 @@ SSL *SSL_dup(SSL *s) ret->shutdown = s->shutdown; ret->state = s->state; /* SSL_dup does not really work at any state, * though */ - ret->rstate = s->rstate; + RECORD_LAYER_dup(&ret->rlayer, &s->rlayer); ret->init_num = 0; /* would have to copy ret->init_buf, * ret->init_msg, ret->init_num, * ret->init_off */ |