summaryrefslogtreecommitdiffstats
path: root/ssl/t1_clnt.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-04-22 13:37:46 +0000
committerBodo Möller <bodo@openssl.org>1999-04-22 13:37:46 +0000
commit5cc146f344bd2225e7afa66052a8401468b94ef4 (patch)
treefed6103a36e32b130cb0ec6ba4ae6c4c9540f848 /ssl/t1_clnt.c
parent4cd401e401c4526768f0ca9257129e749431b384 (diff)
Fixed some race conditions.
Submitted by: Reviewed by: PR:
Diffstat (limited to 'ssl/t1_clnt.c')
-rw-r--r--ssl/t1_clnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_clnt.c b/ssl/t1_clnt.c
index 3cc03e3887..429ad0eca5 100644
--- a/ssl/t1_clnt.c
+++ b/ssl/t1_clnt.c
@@ -84,11 +84,11 @@ SSL_METHOD *TLSv1_client_method(void)
if (init)
{
- init=0;
memcpy((char *)&TLSv1_client_data,(char *)tlsv1_base_method(),
sizeof(SSL_METHOD));
TLSv1_client_data.ssl_connect=ssl3_connect;
TLSv1_client_data.get_ssl_method=tls1_get_client_method;
+ init=0;
}
return(&TLSv1_client_data);
}