1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-20 09:52:56 +00:00

Corrected order of OpenSSL set_cipher_list and use_certificate_chain_file

This commit is contained in:
Gerhard Rieger 2023-08-05 19:05:14 +02:00
parent 40350ecc79
commit 5034b941bf
2 changed files with 21 additions and 15 deletions

View file

@ -189,6 +189,12 @@ Corrections:
detect byte order in procan
Test: EXEC_SIGINT
OpenSSL cipherlist option did not override global openssl.cnf settings.
Now SSL_CTX_set_cipher_list() is called before
SSL_CTX_use_certificate_chain_file().
Thanks to Hiroshi Sakurai for reporting the problem and suggesting this
solution.
Coding:
Introduced groups_t instead of uint32_t, for more flexibility.