Hi Sebastian, Maybe openssl_init_threads and openssl_cleanup_threads (and helper functions) in src/lib/openssl.c should also be conditionalized to remove uses of the old threading and locking APIs? __Martin