fix bug 173401
This commit is contained in:
parent
f82e0a34f9
commit
534e255cb9
25
pegasus-2.5-bz173401.patch
Normal file
25
pegasus-2.5-bz173401.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
--- 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)
|
Loading…
Reference in New Issue
Block a user