Build against the AmiSSL 6.2 SDK (OpenSSL 4.1.1, same amissl_v41x interface as 6.1); deep test plan: 6.2, 5.27, 6.1, 5.25 in the guest |
AES-GCM preference keeps every cipher offered
The fast-AES preference replaced libssh2's offer with six ciphers (GCM,
chacha20, CTR): a server with only CBC or 3DES (old Dropbear, routers, NAS)
found no common cipher on machines where AES is fast. Now libssh2's own
supported list (libssh2_session_supported_algs, its order) is offered with
only the two AES-GCM entries moved to the front.
New test t_sftp_old_server_ciphers: an sshd with only aes128-cbc, no
CIPHERS=: fails with the previous commit, passes now. t_sftp_ciphers and
t_sftp_short_reads pass. |