RemyLebeau
|
98f6823cb3
Adding PEM_(read|write)_bio_PUBKEY() and EVP_MD_CTX_...() functions to IdSSLOpenSSLHeaders.pas and IdSSLOpenSSLHeaders_static.pas units.
|
7 年之前 |
RemyLebeau
|
5001bcafc7
Fix for incorrect declaration of the SSL3_STATE.write_mac_secret field in IdSSLOpenSSLHeaders.pas. It was causing subsequent fields to be offset by 1 byte.
|
7 年之前 |
RemyLebeau
|
d83cae854f
Adding TIdLibHandle type and IdNilHandle constant, to address THandle/TLibHandle discrepancies between Delphi and FreePascal when dealing with dynamically loaded libraries.
|
7 年之前 |
RemyLebeau
|
bb529d1bb4
Replacing lingering references to NilHandle.
|
7 年之前 |
RemyLebeau
|
4d7d42414d
Updating TIdHTTP DoOnAuthorization() and DoOnProxyAuthorization() methods to no longer check if the On(Proxy)Authorization events or Password properties are assigned before entering the authentication loops. Individual TIdAuthentication-derived classes should handle the Username and Password as needed (in the case of SSPI, they can both be blank to use the current identity of the calling thread!). The On(Proxy)Authentication events are now checked only when TIdAuthentication.Next returns wnAskTheProgram.
|
7 年之前 |
RemyLebeau
|
92d37fe359
Updating IdCompilerDefines.inc to look for LINUX instead of LINUX64 when defining HAS_getifaddrs(), and when defining BSD for DCC Posix.
|
7 年之前 |
RemyLebeau
|
9d66f363d6
Enabling IndyRegisterExpectedMemoryLeak() when using the LeakCheck memory manager (https://bitbucket.org/shadow_cs/delphi-leakcheck)
|
7 年之前 |
RemyLebeau
|
707fa0b5d7
Moving call to TIdSSLIOHandlerSocketOpenSSL.Init() out of TIdSSLIOHandlerSocketOpenSSL.StartSSL() and into TIdSSLIOHandlerSocketOpenSSL.ConnectClient() and TIdSSLIOHandlerSocketOpenSSL.AfterAccept(). This way, TCP clients now initialize OpenSSL before trying to connect to a TCP server instead of afterwards, thus the SSL/TLS handshake is no longer delayed waiting for OpenSSL to be initialized.
|
7 年之前 |
RemyLebeau
|
3a1aa55912
Initializing various IPVersion properties to ID_DEFAULT_IP_VERSION instead of Id_IPv4.
|
7 年之前 |
RemyLebeau
|
787572bfe1
Updating various DLL related functions to use THandle instead of HMODULE.
|
7 年之前 |
RemyLebeau
|
c00fe9b87d
Fix for TIdIPMCastListenerThread.Run() trying to read from sockets that may not actually be in a readable state.
|
7 年之前 |
RemyLebeau
|
37dc122a9e
Updating TIdHTTP to recognize ResponseCode 101 (Switching Protocols) during an Upgrade request so it can exit immediately and leave the IOHandler open so the caller can then continue performing I/O in the new protocol as needed.
|
7 年之前 |
RemyLebeau
|
5261f6b7f6
Bug fix for HackLoad() not loading any files at all when passed an empty ALibVersions array.
|
7 年之前 |
RemyLebeau
|
40baa4c5aa
Fixing a couple of version numbers in the SSLDLLVers array in IdSSLOpenSSLHeaders.pas
|
7 年之前 |
RemyLebeau
|
a3f1737bdf
Removing HAS_UNIT_AnsiStrings define, no longer being used.
|
7 年之前 |
RemyLebeau
|
9292f9c197
Changing the return value of IdSSLOpenSSLHeaders.GetCryptLibHandle() from Integer to HMODULE.
|
7 年之前 |
RemyLebeau
|
6d0348012a
Fix for TIdIMAP4Server.ProcessStore() not processing FLAGS arguments correctly.
|
7 年之前 |
RemyLebeau
|
4c5b6c3824
Hooking up function pointers for TLS 1.1 and 1.2 client/server methods in IdSSLOpenSSLHeaders_static.pas
|
7 年之前 |
RemyLebeau
|
5764e023ff
Embarcadero patches.
|
7 年之前 |
RemyLebeau
|
e4faf9a748
Fix for compiler error in IdGlobal.pas in Delphi 2010 and earlier.
|
7 年之前 |
RemyLebeau
|
4418c4713c
Increasing the size of the local byte array used in TIdMBCSEncoding.GetByteCount() when USE_ICONV is defined.
|
7 年之前 |
RemyLebeau
|
7b65097eb5
Patches from Jeroen Wiert Pluimers:
|
7 年之前 |
RemyLebeau
|
99b3f5a5b4
Fix for compiler errors in previous revision
|
7 年之前 |
RemyLebeau
|
5966bed137
Disabling call to SSL_CTX_set_info_callback() before SSL_free(). It is preventing subsequent OnStatusInfo/Ex events from being fired for other SSL objects that share the same SSL_CTX object.
|
7 年之前 |
RemyLebeau
|
dbae34d268
Tweaks to how TIdMBCSEncoding, TIdUTF7Encoding, and TIdUTF8Encoding are initialized to hard-code the FMaxCharSize member instead of calculating it dynamically for UTFs and select charsets.
|
7 年之前 |
RemyLebeau
|
2e2944268b
Fix for compiler errors when FastMM is enabled in pre-Unicode versions of Delphi/C++Builder and FreePascal.
|
7 年之前 |
RemyLebeau
|
692da7c00e
Updating a URL in a couple of comments
|
7 年之前 |
RemyLebeau
|
9ff5dc2001
Tweaking TIdHTTPServer to enable SSL/TLS only on port 443 by default if no OnQuerySSLPort event handler is assigned.
|
7 年之前 |
RemyLebeau
|
bc8987168a
Workaround for a logic bug in TIdCustomHTTP.ConnectToHost() that allows unencrypted HTTP requests to be sent through an HTTP proxy after a previously failed HTTPS request.
|
7 年之前 |
RemyLebeau
|
b64a6b2844
Updating TIdStackWindows.WouldBlock() to not call CheckForSocketError() anymore. The caller of WouldBlock() decides whether to raise an exception if WouldBlock() returns False, so WouldBlock() should not be raising its own exception.
|
7 年之前 |