diff options
author | Bodo Möller <bodo@openssl.org> | 2002-09-19 11:26:45 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-09-19 11:26:45 +0000 |
commit | a90ae02454ed755a56a00943ea49195c6b565655 (patch) | |
tree | 83797adcfa2399dd7fa11c3ce1ae346124478cc9 /ssl | |
parent | 4c8f79a33e8efe5302700389edb4d574f2228765 (diff) |
fix race condition
PR: 262
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s3_clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index 3784e7d8c2..ca15881eaf 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -178,11 +178,11 @@ SSL_METHOD *SSLv3_client_method(void) if (init) { - init=0; memcpy((char *)&SSLv3_client_data,(char *)sslv3_base_method(), sizeof(SSL_METHOD)); SSLv3_client_data.ssl_connect=ssl3_connect; SSLv3_client_data.get_ssl_method=ssl3_get_client_method; + init=0; } return(&SSLv3_client_data); } |