diff options
author | Bodo Möller <bodo@openssl.org> | 1999-04-22 13:37:46 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-04-22 13:37:46 +0000 |
commit | 5cc146f344bd2225e7afa66052a8401468b94ef4 (patch) | |
tree | fed6103a36e32b130cb0ec6ba4ae6c4c9540f848 /ssl/t1_srvr.c | |
parent | 4cd401e401c4526768f0ca9257129e749431b384 (diff) |
Fixed some race conditions.
Submitted by:
Reviewed by:
PR:
Diffstat (limited to 'ssl/t1_srvr.c')
-rw-r--r-- | ssl/t1_srvr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_srvr.c b/ssl/t1_srvr.c index 5603879284..7e65f263fc 100644 --- a/ssl/t1_srvr.c +++ b/ssl/t1_srvr.c @@ -85,11 +85,11 @@ SSL_METHOD *TLSv1_server_method(void) if (init) { - init=0; memcpy((char *)&TLSv1_server_data,(char *)tlsv1_base_method(), sizeof(SSL_METHOD)); TLSv1_server_data.ssl_accept=ssl3_accept; TLSv1_server_data.get_ssl_method=tls1_get_server_method; + init=0; } return(&TLSv1_server_data); } |