diff --git a/src/common/common.c b/src/common/common.c index 0060ce84c..9bb9f9dfd 100644 --- a/src/common/common.c +++ b/src/common/common.c @@ -229,8 +229,8 @@ OQS_API int OQS_CPU_has_extension(OQS_CPU_EXT ext) { OQS_API void OQS_init(void) { #if defined(OQS_USE_OPENSSL) - OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN | OPENSSL_INIT_ADD_ALL_CIPHERS, - NULL); + OSSL_FUNC(OPENSSL_init_crypto)(OPENSSL_INIT_ENGINE_ALL_BUILTIN | OPENSSL_INIT_ADD_ALL_CIPHERS, + NULL); #endif #if defined(OQS_DIST_BUILD) OQS_CPU_has_extension(OQS_CPU_EXT_INIT);