mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-20 05:19:40 +00:00
fix race condition
PR: 262
This commit is contained in:
parent
170d47b1ba
commit
30c37c52c5
3
CHANGES
3
CHANGES
@ -4,6 +4,9 @@
|
||||
|
||||
Changes between 0.9.6g and 0.9.6h [xx XXX xxxx]
|
||||
|
||||
*) Fix race condition in SSLv3_client_method().
|
||||
[Bodo Moeller]
|
||||
|
||||
*) Reorder cleanup sequence in SSL_CTX_free(): only remove the ex_data after
|
||||
the cached sessions are flushed, as the remove_cb() might use ex_data
|
||||
contents. Bug found by Sam Varshavchik <mrsam@courier-mta.com>
|
||||
|
@ -146,11 +146,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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user