Skip to content

Commit

Permalink
Update tests/test_kem.c
Browse files Browse the repository at this point in the history
Use of OQS_DLOPEN_OPENSSL needs a new API change to expose an OQS function that calls  OPENSSL_thread_stop

Signed-off-by: Norman Ashley <[email protected]>
  • Loading branch information
ashman-p authored Oct 18, 2024
1 parent 5e87110 commit 0027d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_kem.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ struct thread_data {
void *test_wrapper(void *arg) {
struct thread_data *td = arg;
td->rc = kem_test_correctness(td->alg_name);
#if defined(OQS_USE_OPENSSL)
#if defined(OQS_USE_OPENSSL) && !defined(OQS_DLOPEN_OPENSSL)
OPENSSL_thread_stop();
#endif
return NULL;
Expand Down

0 comments on commit 0027d7d

Please sign in to comment.