diff options
Diffstat (limited to 'test/threadstest.h')
-rw-r--r-- | test/threadstest.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/threadstest.h b/test/threadstest.h index 8bdedd7052ac..f8e6589e0c31 100644 --- a/test/threadstest.h +++ b/test/threadstest.h @@ -1,5 +1,5 @@ /* - * Copyright 2021 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2021-2024 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -65,6 +65,7 @@ static void *thread_run(void *arg) *(void **) (&f) = arg; f(); + OPENSSL_thread_stop(); return NULL; } |