summaryrefslogtreecommitdiff
path: root/zen/open_ssl.cpp
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-02-07 00:18:30 +0000
committerB. Stack <bgstack15@gmail.com>2022-02-07 00:18:30 +0000
commit4cba562d787bfc92aeadbbc2ef199d4856523247 (patch)
tree374c62790fde0ce5514ef56750d0ff023d61b528 /zen/open_ssl.cpp
parentMerge branch 'b11.16' into 'master' (diff)
parent add upstream 11.17 (diff)
downloadFreeFileSync-4cba562d787bfc92aeadbbc2ef199d4856523247.tar.gz
FreeFileSync-4cba562d787bfc92aeadbbc2ef199d4856523247.tar.bz2
FreeFileSync-4cba562d787bfc92aeadbbc2ef199d4856523247.zip
Merge branch 'b11.17' into 'master'11.17
add upstream 11.17 See merge request opensource-tracking/FreeFileSync!41
Diffstat (limited to 'zen/open_ssl.cpp')
-rw-r--r--zen/open_ssl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/open_ssl.cpp b/zen/open_ssl.cpp
index 62560d78..5e4c370d 100644
--- a/zen/open_ssl.cpp
+++ b/zen/open_ssl.cpp
@@ -34,8 +34,8 @@ void zen::openSslInit()
//see apps_shutdown(): https://github.com/openssl/openssl/blob/master/apps/openssl.c
//see Curl_ossl_cleanup(): https://github.com/curl/curl/blob/master/lib/vtls/openssl.c
- assert(runningOnMainThread());
- //excplicitly init OpenSSL on main thread: seems to initialize atomically! But it still might help to avoid issues:
+ assert(runningOnMainThread());
+ //excplicitly init OpenSSL on main thread: seems to initialize atomically! But it still might help to avoid issues:
[[maybe_unused]] const int rv = ::OPENSSL_init_ssl(OPENSSL_INIT_SSL_DEFAULT | OPENSSL_INIT_NO_LOAD_CONFIG, nullptr);
assert(rv == 1); //https://www.openssl.org/docs/man1.1.0/ssl/OPENSSL_init_ssl.html
}
bgstack15