diff options
author | Bodo Möller <bodo@openssl.org> | 2001-10-24 19:03:22 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-10-24 19:03:22 +0000 |
commit | 979689aa5cfa100ccbc1f25064e9398be4b7b05c (patch) | |
tree | 363dad35cdaaba2b61eb34898433e4fb0495bcde /ssl/s23_srvr.c | |
parent | a3faebd1041576a59bffe01bbd2c68495870ec5e (diff) | |
download | openssl-979689aa5cfa100ccbc1f25064e9398be4b7b05c.tar.gz |
Fix SSL handshake functions and SSL_clear() such that SSL_clear()
never resets s->method to s->ctx->method when called from within
one of the SSL handshake functions.
Diffstat (limited to 'ssl/s23_srvr.c')
-rw-r--r-- | ssl/s23_srvr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s23_srvr.c b/ssl/s23_srvr.c index 8c41e1ff01..fe8bd33ce7 100644 --- a/ssl/s23_srvr.c +++ b/ssl/s23_srvr.c @@ -165,8 +165,8 @@ int ssl23_accept(SSL *s) else if (s->ctx->info_callback != NULL) cb=s->ctx->info_callback; - if (!SSL_in_init(s) || SSL_in_before(s)) SSL_clear(s); s->in_handshake++; + if (!SSL_in_init(s) || SSL_in_before(s)) SSL_clear(s); for (;;) { |