Lines 241-247
SslInitializeCTX(SSL_PROPERTIES *psPrope
Link Here
|
241 |
* |
241 |
* |
242 |
********************************************************************* |
242 |
********************************************************************* |
243 |
*/ |
243 |
*/ |
244 |
psProperties->psslCTX = SSL_CTX_new(SSLv3_client_method()); |
244 |
psProperties->psslCTX = SSL_CTX_new(SSLv23_client_method()); |
|
|
245 |
SSL_CTX_set_options(psProperties->psslCTX, SSL_OP_NO_SSL2 ); |
245 |
if (psProperties->psslCTX == NULL) |
246 |
if (psProperties->psslCTX == NULL) |
246 |
{ |
247 |
{ |
247 |
ERR_error_string(ERR_get_error(), acLocalError); |
248 |
ERR_error_string(ERR_get_error(), acLocalError); |