1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00

57 Commits

Author SHA1 Message Date
Martin Prikryl
3f4e41fee0 Clang imposed changes that should be noop and have no effect on classic compiler
Mostly:
– incorrectly identified uninitialized variables
– explicit static global variables
– const, sign and down casts and safety
– typename use
– semicolon after function implementation
– unused variables, fields, arguments and macros
– field initialization order
– exact include filename case
– redundant in code macros already defined at project level

(cherry picked from commit f7f00c631e)

Source commit: 90ad9390853aba308abe73cf02e0281238c53c87
2025-03-13 16:46:26 +01:00
Martin Prikryl
ae9b173170 Issue 2327 – Failure when opening TLS connection with invalid OpenSSL configuration file
https://winscp.net/tracker/2327

Source commit: ee33d2badfff95c721fe412c86e7b305674e6703
2024-11-20 01:09:37 +01:00
Martin Prikryl
15112f5277 Issue 2299 – Better error message when server is using incompatible TLS protocol version
https://winscp.net/tracker/2299

Source commit: 03997d32ab26920b5c4c3fb934e1595db6fe8d38
2024-07-08 01:19:53 +02:00
Martin Prikryl
aa2b34138d Not including useless OpenSSL states in error reporting
Source commit: 627ff74a4254d728b9a431e91f4e12e5b0950fdc
2024-07-08 01:16:07 +02:00
Martin Prikryl
b46fe1542e Refactoring OpenSSL error reporting
Source commit: d11398667377b71f4dd18c9223e52ee9d978b25f
2024-07-08 01:11:21 +02:00
Martin Prikryl
248a021cc7 Issue 2261 – Random hang/failure when closing FTP TLS 1.3 connection
https://winscp.net/tracker/2261

Source commit: 83db5b84f18796ff2923bfeb25cb8a5cad31aa16
2024-02-21 13:45:52 +01:00
Martin Prikryl
c97a8ab847 Issue 2250 – Configurable FTP TLS shutdown procedure
https://winscp.net/tracker/2250

Source commit: 509a6c3b0efed21c398810e7ead00bd9235ee35d
2024-01-15 15:33:10 +01:00
Martin Prikryl
532f1847b2 Use up-to-date OpenSSL API + Use the same API to retrieve cipher suites for /info, as we use for neon (and indirectly for FTP too)
Noop change (currently SSLv23_client_method is just an alias to TLS_client_method, same for TLS_method vs SSLv23_method

Source commit: d35fcf2fbb722795f1ef267051892f0a931e2ab2
2023-12-07 01:08:06 +01:00
Martin Prikryl
d506d4419a Bug 2210: TLS session resumption is not working for subsequent FTP data connections with TLS 1.3 with some servers
https://winscp.net/tracker/2210

Undoes related and obsolete Bug 2018

Source commit: 8ebb50c550bc2b7c93e2aa552deb3bf3f036ce98
2023-08-07 01:12:13 +02:00
Martin Prikryl
1fdf58c748 Refactoring SSL globals
Source commit: ce896c4cb6db7ab2a2f28bdf11498946610b8c9a
2023-08-06 00:59:57 +02:00
Martin Prikryl
07e0374351 Unused code
Source commit: 86aeed9a76c8110a4ce96319a57177cf194e420a
2023-08-03 01:09:54 +02:00
Martin Prikryl
e5628b72f3 Bug 2019: Error when uploading file sized just below 32 kB boundary to FTP server over TLS 1.3
https://winscp.net/tracker/2019

Source commit: 20c418a5e796357ab6e842d95bf3614a21f1e4fc
2023-01-18 01:01:37 +01:00
Martin Prikryl
01b2a64d2c Factoring out ProcessSendBuffer
Source commit: 48e8642d9b3be79faf90d366021e4f91e058d12d
2023-01-17 01:19:10 +01:00
Martin Prikryl
85b1e9cb3d Optimizing use of USES_CONVERSION
Source commit: 41bec5877bfdf64a71ff054abe8849b94744330f
2022-05-17 12:29:49 +02:00
Martin Prikryl
3a2d8d6587 Prevent hang when closing TLS connection after transfer cancel
Related to 2c0b486d, 5d68c005, aff5cba7. Caused by 268f6355.

Source commit: e86e1b454952412b21774c65910d81f2d9ecf426
2021-10-27 01:22:36 +02:00
Martin Prikryl
aff5cba787 Prevent hang when closing TLS connection after network failure
Related to 2c0b486d, 5d68c005. Caused by 268f6355.

Source commit: 095c15c2ed15e8cfd517a3aebf1665d60d6b5977
2021-10-22 00:56:18 +02:00
Martin Prikryl
e70fd8fa51 Bug 2034: Custom certificate store file
https://winscp.net/tracker/2034

Source commit: 2dc42a32b9eb1c2777e61c0cec52c08ecac90a73
2021-10-20 00:57:39 +02:00
Martin Prikryl
5d68c005f1 Deadlock when TLS connection is lost
Source commit: 9561e7b58ff3a659c8eff1152efee28bf09d96e5
2021-10-13 00:49:10 +02:00
Martin Prikryl
12a3508797 Limiting scope of Bug 2030 (Timeout while uploading files to some FTP servers using TLS 1.3) to affected servers only
https://winscp.net/tracker/2030

Source commit: 83123c9e8d158ae74d541b5b07c88303c5ec7fe6
2021-10-11 15:28:58 +02:00
Martin Prikryl
2c0b486de5 Deadlock when closing connection when TLS was never established (caused by 268f6355)
Source commit: 24d6adda3af26be8871a9973338011cfe8d0c86c
2021-10-05 00:51:20 +02:00
Martin Prikryl
268f63557e Proper TLS shutdown
Source commit: 86a380532057c0d913678b9ca910cb319a8f422c
2021-10-02 00:56:44 +02:00
Martin Prikryl
e27595b329 Fixing indentation
Source commit: 7f8b13cf38fbc0ab62e2f04bc6cc1be81416d452
2021-10-02 00:54:49 +02:00
Martin Prikryl
b8e2cadde6 Partially restoring code removed by f7064be2 (Bug 2030: Timeout while uploading files to some FTP server using TLS 1.3)
https://winscp.net/tracker/2030

Source commit: 44c1fbf7b3c04eb9018264f4d4cc83f44c27d048
2021-10-02 00:52:50 +02:00
Martin Prikryl
f7064be2ce Bug 2030: Timeout while uploading files to some FTP server using TLS 1.3
https://winscp.net/tracker/2030

Source commit: bc5a4aaada2515c192316ad96aa2f2727fb6de34
2021-10-01 00:50:35 +02:00
Martin Prikryl
1f32f22044 Bug 2018: TLS session resumption is not working for subsequent FTP transfers with TLS 1.3 when the server requires reuse of the session of the previous transfer
https://winscp.net/tracker/2018

Source commit: 6cae14d95212b5de26a9ce611e258d6d7516c69b
2021-08-25 00:46:56 +02:00
Martin Prikryl
07b4e9d99c Bug 1966: Failure when connecting to FTPS server that supports client certificates with translation that uses multi byte encoding
https://winscp.net/tracker/1966

Source commit: e865233fb7f0b73898b6f2a4da0f9d54d4219d15
2021-03-24 00:47:04 +01:00
Martin Prikryl
a25c55a621 Bug 1895: Support for SNI with FTP (2nd)
https://winscp.net/tracker/1895

Source commit: fa44a4abb0d3bed4ab39df8590d359a2778e976c
2020-08-22 05:39:31 +02:00
Martin Prikryl
9fc806972c Bug 1895: Support for SNI with FTP
https://winscp.net/tracker/1895

Source commit: 224eb8909cfb253bf3994d0f77e62adcc21f0e7a
2020-07-31 03:11:27 +02:00
Martin Prikryl
b8814aafe3 Merge branch 'master' into dev
# Conflicts:
#	source/core/Terminal.cpp

Source commit: 0245fce5a9188dfcd8f2c33e2c76c8b5785ba637
2020-04-24 02:28:10 +02:00
Martin Prikryl
cf7a87cc32 Limit impact of e78c2485 to TLS 1.3 only
https://winscp.net/tracker/1834

Source commit: d4f10f2624093a4781a579b8c041b64c9d6661c4
2020-04-24 01:16:16 +02:00
Martin Prikryl
e78c2485a0 Bug 1834: FTP file uploads are interrupting with TLS 1.3
https://winscp.net/tracker/1834

Source commit: ed1a795deeb85606fa2ebb3cb265a407b5abfbef
2020-04-23 01:15:22 +02:00
Martin Prikryl
1fe119535a Bug 1842: Support SHA-256 fingerprints of TLS/SSL certificates
https://winscp.net/tracker/1842

Source commit: 66b808783a0b67b0277fff65af905cb132573175
2020-03-31 02:25:42 +02:00
Martin Prikryl
37fb62021d For TLS 1.2 and older, session reuse was not logged
(broken by 22beed90)

Source commit: 8a91bcc3d2acae25e8591608a4e3b0796a9e12f9
2020-03-08 01:24:18 +01:00
Martin Prikryl
22beed90db Bug 1831: TLS session resumption is not working for FTP transfers with TLS 1.3
https://winscp.net/tracker/1831

Source commit: ccd8c878571598701a86ed2f809eec31e822654a
2020-03-07 02:03:08 +01:00
Martin Prikryl
0e4e2e6bc8 It is possible to configure TLS 1.3 restrictions
(+ reusing SetupSsl for FTP)

Source commit: 426bf5c70861f8a2964967d32ef5b5e36bbb1ac6
2020-02-12 00:52:11 +01:00
Martin Prikryl
304051da58 TLS/SSL session resuming was broken since OpenSSL 1.1.1
The SSL_ST_CONNECT now happens the first time before session reuse is tested, so SSL_session_reused returned false. Moving SSL_session_reused test to SSL_CB_HANDSHAKE_DONE.

Source commit: b6ed90779ec5bdd737e7688256afd3457a6cffab
2019-06-21 01:51:14 +02:00
Martin Prikryl
f4da108184 Using OpenSSL API 1.2
Source commit: 8cc4e9f3b05e7e8def1365ecc3e67d1c32a0556c
2019-02-27 02:05:32 +01:00
Martin Prikryl
b86225042c Update to OpenSSL OpenSSL 1.1.1a
Source commit: ed68069c4ffc356398506b3529414ebace044caf
2019-01-29 16:12:34 +01:00
Martin Prikryl
c7a55143cb Bug 1637: Low logging level
https://winscp.net/tracker/1637

Source commit: 77c4bd8361dc2604b244964b6b60240465ece323
2018-04-21 03:36:35 +02:00
Martin Prikryl
0b33606e19 Memory leak
Source commit: 2b8b614d5e1ff69bd86893793ea93c5d74c0a519
2018-01-26 00:33:22 +01:00
Martin Prikryl
ad210c796e Showing just TLS error messages to user, details go to log only
Source commit: ed381385098937e54293a793ca279062b9c38b10
2018-01-25 23:49:29 +01:00
Martin Prikryl
163eb109ad Showing details about TLS handshake errors
Source commit: 85fe0f179b55bf5bdf827bb378507ca61fcd9c25
2018-01-25 23:48:24 +01:00
Martin Prikryl
6916cb9498 Logging more details about the TLS cipher
Source commit: 016b6136a77d85eb06c1de9bfa9be8e846f9c3dc
2018-01-25 23:47:13 +01:00
Martin Prikryl
1ab5af6ea6 Logging configured client certificate + Logging server request for a client certificate in Normal level
Source commit: fc6db53bddb66cec2a001ae3f8aa6e50bbede272
2018-01-25 11:57:08 +01:00
Martin Prikryl
c2f3ec506b Using our asserts in FileZilla code
Source commit: a294b54252528b1b33b5d205336bb321584dcf95
2018-01-24 20:46:52 +01:00
Martin Prikryl
d8f92984b9 First public commit of dev branch
Source commit: 98cb9d870efc1c60826db4398ec35c5cbe809e6a
2018-01-24 14:13:46 +01:00
Martin Prikryl
4acedf8030 5.7 2018-01-11 15:37:20 +01:00
Martin Prikryl
5a9d22512f 5.6.2 2018-01-11 15:36:40 +01:00
Martin Prikryl
0afcda69fd 5.6.1 2018-01-11 15:36:34 +01:00
Martin Prikryl
26b6b13bc8 5.6 2018-01-11 15:36:22 +01:00