Skip to content

Commit

Permalink
Add OPENSSL_thread_stop to the ossl function list. Cleanup error chec…
Browse files Browse the repository at this point in the history
…king.

Signed-off-by: Norman Ashley <[email protected]>
  • Loading branch information
ashman-p committed Oct 5, 2024
1 parent a7aa64a commit 0ffdeea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/common/ossl_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ VOID_FUNC(void, OPENSSL_cleanse, (void *ptr, size_t len), (ptr, len))
FUNC(int, RAND_bytes, (unsigned char *buf, int num), (buf, num))
FUNC(int, RAND_poll, (void), ())
FUNC(int, RAND_status, (void), ())
VOID_FUNC(void, OPENSSL_thread_stop, (void), ())
2 changes: 1 addition & 1 deletion src/common/ossl_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ static void fetch_ossl_objects(void) {
if (!sha256_ptr || !sha384_ptr || !sha512_ptr
#if defined(OQS_USE_SHA3_OPENSSL)
|| !sha3_256_ptr || !sha3_384_ptr || !sha3_512_ptr
#endif
|| !shake128_ptr || !shake256_ptr
#endif
#if defined(OQS_USE_AES_OPENSSL)
|| !aes128_ecb_ptr || !aes128_ctr_ptr || !aes256_ecb_ptr || !aes256_ctr_ptr
#endif
Expand Down

0 comments on commit 0ffdeea

Please sign in to comment.