aboutsummaryrefslogtreecommitdiff
path: root/crypto/threads_none.c
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2026-04-07 22:35:35 +0000
committerEnji Cooper <ngie@FreeBSD.org>2026-04-07 22:35:35 +0000
commitab5fc4ac933ff67bc800e774dffce15e2a541e90 (patch)
tree41fac85d3f2f7d74be9bfce46b1a78ff9897165d /crypto/threads_none.c
parent808413da28df9fb93e1f304e6016b15e660f54c8 (diff)
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)