Skip to content

update function argument of SSL_CTX_set_options

Ultimately this is taken from Debian, contributed by the original patch author: https://sources.debian.org/patches/qtbase-opensource-src/5.15.7%2Bdfsg-1/openssl_set_options.diff/

openssl3 uses uint64_t for the options argument in SSL_CTX_set_options,
older ones used long.
sizeof(long) is not the same on any platform as sizeof(uint64_t)

Fixes: QTBUG-105041
Change-Id: If148ffd883f50b58bc284c6f2609337d80fb5c58
Pick-to: 5.15 6.2 6.3 6.4
Reviewed-by: Dmitry Shachnev <mitya57@gmail.com>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
(cherry picked from commit e995bfc0ea783c15bb173f060099ca24f277c763)

Merge request reports