Skip to content

Commit

Permalink
wrap OPENSSL_init_crypto with OSSL_FUNC.
Browse files Browse the repository at this point in the history
Signed-off-by: Norman Ashley <[email protected]>
  • Loading branch information
ashman-p committed Sep 30, 2024
1 parent 87898ff commit 6e37df4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6e37df4

Please sign in to comment.