aboutsummaryrefslogtreecommitdiff
path: root/crypto/threads_none.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/threads_none.c')
-rw-r--r--crypto/threads_none.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/threads_none.c b/crypto/threads_none.c
index 1a67d51f29f4..fd2ab38d8097 100644
--- a/crypto/threads_none.c
+++ b/crypto/threads_none.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2025 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2016-2026 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
@@ -217,7 +217,7 @@ int CRYPTO_THREAD_cleanup_local(CRYPTO_THREAD_LOCAL *key)
CRYPTO_THREAD_ID CRYPTO_THREAD_get_current_id(void)
{
- return 0;
+ return 1;
}
int CRYPTO_THREAD_compare_id(CRYPTO_THREAD_ID a, CRYPTO_THREAD_ID b)