26 lines
869 B
Diff
26 lines
869 B
Diff
--- pegasus-2.5/src/Pegasus/Common/SSLContext.cpp.bz173401 2005-11-16 14:53:24.000000000 -0500
|
|
+++ pegasus-2.5/src/Pegasus/Common/SSLContext.cpp 2005-11-16 18:12:59.000000000 -0500
|
|
@@ -810,7 +810,8 @@
|
|
// create SSL Context Area
|
|
//
|
|
|
|
- if (!( sslContext = SSL_CTX_new(SSLv23_method()) ))
|
|
+// if (!( sslContext = SSL_CTX_new(SSLv23_method()) ))
|
|
+ if (!( sslContext = SSL_CTX_new(SSLv3_method()) ))
|
|
{
|
|
PEG_METHOD_EXIT();
|
|
//l10n
|
|
@@ -839,9 +840,9 @@
|
|
SSL_CTX_set_session_cache_mode(sslContext, SSL_SESS_CACHE_OFF);
|
|
|
|
int options = SSL_OP_ALL;
|
|
-#ifndef PEGASUS_ENABLE_SSLV2 //SSLv2 is disabled by default
|
|
- options |= SSL_OP_NO_SSLv2;
|
|
-#endif
|
|
+//#ifndef PEGASUS_ENABLE_SSLV2 //SSLv2 is disabled by default
|
|
+// options |= SSL_OP_NO_SSLv2;
|
|
+//#endif
|
|
SSL_CTX_set_options(sslContext, options);
|
|
|
|
if (_verifyPeer)
|