Changeset 552
- Timestamp:
- 08/01/11 01:32:15 (10 months ago)
- Location:
- trunk/sources/thelib/src
- Files:
-
- 3 edited
-
protocols/ssl/inboundsslprotocol.cpp (modified) (1 diff)
-
streaming/baseinstream.cpp (modified) (1 diff)
-
streaming/baseoutstream.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/thelib/src/protocols/ssl/inboundsslprotocol.cpp
r272 r552 84 84 SSL_CTX_set_verify(_pGlobalSSLContext, SSL_VERIFY_NONE, NULL); 85 85 86 //7. Lock on the RC4-SHA. Apparently, the latest and the greatest flash plugin87 //only works with this little fucker88 WARN("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");89 WARN("!!! This is an ugly hack which deactivates !!!");90 WARN("!!! all the ciphers inside OpenSSL and !!!");91 WARN("!!! only keeps RC4-SHA. If you don't use !!!");92 WARN("!!! InboundSSLProtocol inside other stuff, !!!");93 WARN("!!! you can safely ignore this !!!");94 WARN("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");95 if (SSL_CTX_set_cipher_list(_pGlobalSSLContext, "!DEFAULT:RC4-SHA") == 0) {96 FATAL("Unable to select the RC4-SHA cipher. Error was: %s",97 STR(GetSSLErrors()));98 SSL_CTX_free(_pGlobalSSLContext);99 _pGlobalSSLContext = NULL;100 return false;101 }102 103 86 //7. Store the global context for later usage 104 87 _pGlobalContexts[hash] = _pGlobalSSLContext; -
trunk/sources/thelib/src/streaming/baseinstream.cpp
r410 r552 59 59 pTemp = pTemp->pPrev; 60 60 } 61 StreamCapabilities *pCapabilities = GetCapabilities(); 62 if (pCapabilities != NULL) 63 info["bandwidth"] = (uint32_t) pCapabilities->bandwidthHint; 64 else 65 info["bandwidth"] = (uint32_t) 0; 61 66 } 62 67 -
trunk/sources/thelib/src/streaming/baseoutstream.cpp
r410 r552 113 113 info["inStreamUniqueId"] = Variant(); 114 114 } 115 StreamCapabilities *pCapabilities = GetCapabilities(); 116 if (pCapabilities != NULL) 117 info["bandwidth"] = (uint32_t) pCapabilities->bandwidthHint; 118 else 119 info["bandwidth"] = (uint32_t) 0; 115 120 } 116 121
Note: See TracChangeset
for help on using the changeset viewer.
