Skip to content

update function argument of SSL_CTX_set_options

Ultimately this is taken from Debian, contributed by the original patch author:

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 <>
Reviewed-by: Timur Pocheptsov <>
(cherry picked from commit e995bfc0ea783c15bb173f060099ca24f277c763)

Merge request reports