-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added new OpenSSL IO Handler for OpenSSL 1.1.1 #299
base: master
Are you sure you want to change the base?
Commits on Jul 6, 2023
-
Added new OpenSSL IO Handler for OpenSSL 1.1.1
Added new OpenSSL 1.1.1 header translation Added new OpenSSL IO Handler Fixed memory corruption If GetPAnsiChar own created UTF8String will be freed when the method will be leaved. In that case the string is no longer accessable for OpenSSL. No clue what to do with the USE_MARSHALLED_PTRS part, that has the same problem... Implemented more compiler macros in x509 Set default values for options Added virtual methods for context initialization for IndySockets#224 Fixed small translation error Fixed small errors found with FixInsight Added missing empty implementations Added Header to source files Removed own definition of size_t and time_t Added PPIdC_INT definition to fpc Updated OpenSSL Header translation and Source Generator Fixed quirk with circular references Added IdOpenSSLConsts for better x64 support Improved xml doc Added missing include Added some pem functions for read/write Added translation for objects.h and fixed some other translations Added missing includes of IdCompilerDefines.inc Some FPC compability Added PPPByte to FPC Implemented some compiler macros in crypto Some more OpenSSL translation Moved TIdOpenSSLPersistent to own unit Added new TIdC_TM Added new x509 wrapper and callback for verification Extracted TIdOpenSSLVersion to own unit Fixed problem with explicite TLS Renamed tls version properties Implemented better way for dynamic loading Implemented usage of dynamic loading
Configuration menu - View commit details
-
Copy full SHA for d8e2735 - Browse repository at this point
Copy the full SHA d8e2735View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab54e16 - Browse repository at this point
Copy the full SHA ab54e16View commit details -
FTP data channel should reuse the session of the command channel
This prevents connection stealing. See https://forum.filezilla-project.org/viewtopic.php?p=137191#p137191 for more details
Configuration menu - View commit details
-
Copy full SHA for 726bf0e - Browse repository at this point
Copy the full SHA 726bf0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d840c9 - Browse repository at this point
Copy the full SHA 2d840c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5946cfd - Browse repository at this point
Copy the full SHA 5946cfdView commit details -
Made intermediate code more compatible
* replaced usage of reserved words, for example &in -> in_ * removed regions * replaced accidentally added dotted unit name in crypto Thanks to @JedrzejczykRobert
Configuration menu - View commit details
-
Copy full SHA for 5456188 - Browse repository at this point
Copy the full SHA 5456188View commit details -
Made new OpenSSL IO Handler more compatible
* removed nested consts * replaced some not existing functions * removed regions * replaced $Raise with Raise_ Thanks to @JedrzejczykRobert
Configuration menu - View commit details
-
Copy full SHA for 9098d2d - Browse repository at this point
Copy the full SHA 9098d2dView commit details -
Removed some unnecessary stuff from GenerateCode.dproj
Automated by ProjectMagican :)
Configuration menu - View commit details
-
Copy full SHA for 95adc5f - Browse repository at this point
Copy the full SHA 95adc5fView commit details -
Do not use SafeLoadLibrary without second parameter
See for more information: https://blog.dummzeuch.de/2017/06/13/do-not-call-safeloadlibrarydllname-dll/
Configuration menu - View commit details
-
Copy full SHA for 75ea32b - Browse repository at this point
Copy the full SHA 75ea32bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9eb2819 - Browse repository at this point
Copy the full SHA 9eb2819View commit details -
Replaced %LINE% with %LINENUM%
%LINE% is a string, but we need an integer Thanks to @grahamegrieve
Configuration menu - View commit details
-
Copy full SHA for a7bab36 - Browse repository at this point
Copy the full SHA a7bab36View commit details -
IndyCheckWindowsVersion is only available under windows
Obviously... Thanks to @grahamegrieve
Configuration menu - View commit details
-
Copy full SHA for 11bf465 - Browse repository at this point
Copy the full SHA 11bf465View commit details -
rsa_st & dsa_st & dh_st & ec_key_st are already in IdOpenSSLHeaders_ossl_typ Thanks to @grahamegrieve
Configuration menu - View commit details
-
Copy full SHA for 0b3c98c - Browse repository at this point
Copy the full SHA 0b3c98cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e6da46 - Browse repository at this point
Copy the full SHA 8e6da46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d52c7c - Browse repository at this point
Copy the full SHA 6d52c7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95efa0a - Browse repository at this point
Copy the full SHA 95efa0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ecf100 - Browse repository at this point
Copy the full SHA 9ecf100View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b6316b - Browse repository at this point
Copy the full SHA 4b6316bView commit details -
Configuration menu - View commit details
-
Copy full SHA for afb44be - Browse repository at this point
Copy the full SHA afb44beView commit details -
Configuration menu - View commit details
-
Copy full SHA for fdc52da - Browse repository at this point
Copy the full SHA fdc52daView commit details -
* Missing cdecl * Using PIdAnsiChar instead of PAnsiChar
Configuration menu - View commit details
-
Copy full SHA for f489e59 - Browse repository at this point
Copy the full SHA f489e59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36bec7c - Browse repository at this point
Copy the full SHA 36bec7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c274b5 - Browse repository at this point
Copy the full SHA 1c274b5View commit details -
Fixed MemLeak with handling TLS Sessions
With new_session_cb we tell OpenSSL that we are holding a reference to the session. We must then also release this reference. But since we get more than one session object we need to keep a list of them. And when cloning an IO Handler, the session reference must be increased. Thanks to @ralfjunker
Configuration menu - View commit details
-
Copy full SHA for ce5caa5 - Browse repository at this point
Copy the full SHA ce5caa5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0004ff8 - Browse repository at this point
Copy the full SHA 0004ff8View commit details -
The ssl object should be destroyed before its ssl context object. While destroying ssl context, OpenSSL calls remove_session_cb, but our FSessionList is already freed Thanks to @ralfjunker
Configuration menu - View commit details
-
Copy full SHA for 2b6e7e2 - Browse repository at this point
Copy the full SHA 2b6e7e2View commit details -
The Server IO Handler does not immediately start a TLS handshake any …
…longer You need to set PassThrough to False Thanks to @rlebeau
Configuration menu - View commit details
-
Copy full SHA for ff99d3f - Browse repository at this point
Copy the full SHA ff99d3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d392d53 - Browse repository at this point
Copy the full SHA d392d53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76fdc7d - Browse repository at this point
Copy the full SHA 76fdc7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f61d373 - Browse repository at this point
Copy the full SHA f61d373View commit details -
Configuration menu - View commit details
-
Copy full SHA for a313bb7 - Browse repository at this point
Copy the full SHA a313bb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4346440 - Browse repository at this point
Copy the full SHA 4346440View commit details -
Replaced
¶meter
withparameter_
For better support of older delphi versions and fpc
Configuration menu - View commit details
-
Copy full SHA for d17a73a - Browse repository at this point
Copy the full SHA d17a73aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f5d370 - Browse repository at this point
Copy the full SHA 7f5d370View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3864f7b - Browse repository at this point
Copy the full SHA 3864f7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e63d7fd - Browse repository at this point
Copy the full SHA e63d7fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30861e6 - Browse repository at this point
Copy the full SHA 30861e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 506eb2b - Browse repository at this point
Copy the full SHA 506eb2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2921154 - Browse repository at this point
Copy the full SHA 2921154View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b30d60 - Browse repository at this point
Copy the full SHA 9b30d60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d56ae3 - Browse repository at this point
Copy the full SHA 9d56ae3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bbb0b2 - Browse repository at this point
Copy the full SHA 8bbb0b2View commit details -
Fix compile errors for Delphi 7
Signed-off-by: Fabian S. Biehn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d2209ba - Browse repository at this point
Copy the full SHA d2209baView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1820c5 - Browse repository at this point
Copy the full SHA e1820c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 651fcee - Browse repository at this point
Copy the full SHA 651fceeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23518eb - Browse repository at this point
Copy the full SHA 23518ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 08795ef - Browse repository at this point
Copy the full SHA 08795efView commit details -
Configuration menu - View commit details
-
Copy full SHA for df99616 - Browse repository at this point
Copy the full SHA df99616View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19f9c1d - Browse repository at this point
Copy the full SHA 19f9c1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for feb0095 - Browse repository at this point
Copy the full SHA feb0095View commit details -
Configuration menu - View commit details
-
Copy full SHA for f542125 - Browse repository at this point
Copy the full SHA f542125View commit details -
Configuration menu - View commit details
-
Copy full SHA for a94ebd5 - Browse repository at this point
Copy the full SHA a94ebd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for af908dd - Browse repository at this point
Copy the full SHA af908ddView commit details -
Added possibility to load trusted certs
Trusted certs are a special OpenSSL format
Configuration menu - View commit details
-
Copy full SHA for 46db019 - Browse repository at this point
Copy the full SHA 46db019View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97e9a01 - Browse repository at this point
Copy the full SHA 97e9a01View commit details -
Fixed translation error in bio
Used BIO_METHOD (wrong) instead of PBIO_METHOD (correct)
Configuration menu - View commit details
-
Copy full SHA for 9f5cdd6 - Browse repository at this point
Copy the full SHA 9f5cdd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f40a353 - Browse repository at this point
Copy the full SHA f40a353View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0c2417 - Browse repository at this point
Copy the full SHA d0c2417View commit details -
Configuration menu - View commit details
-
Copy full SHA for 274c7d0 - Browse repository at this point
Copy the full SHA 274c7d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for da81e95 - Browse repository at this point
Copy the full SHA da81e95View commit details -
Configuration menu - View commit details
-
Copy full SHA for a899fa4 - Browse repository at this point
Copy the full SHA a899fa4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ce7c93 - Browse repository at this point
Copy the full SHA 8ce7c93View commit details -
Use bidirectional shutdown on default
Closing the TCP connection after sending a TLS shutdown without reading on the TCP channel could lead to data loss, especially on write-only connections, like FTP data channel! Added new option to wait for the TLS shutdown of the peer. RFC 5246 section 7.2.1 says: Any TLS peer MUST respond with a shutdown immediately, discarding any pending writes. The wait still uses the ReadTimeout. For more information: openssl/openssl#7948 https://www.rfc-editor.org/rfc/rfc5246#section-7.2.1
Configuration menu - View commit details
-
Copy full SHA for c0101f0 - Browse repository at this point
Copy the full SHA c0101f0View commit details