summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/crypto.h')
-rw-r--r--src/lib/libcrypto/crypto.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/lib/libcrypto/crypto.h b/src/lib/libcrypto/crypto.h
index 382d40a350..01359c4297 100644
--- a/src/lib/libcrypto/crypto.h
+++ b/src/lib/libcrypto/crypto.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: crypto.h,v 1.68 2024/03/02 11:35:09 tb Exp $ */ 1/* $OpenBSD: crypto.h,v 1.69 2024/03/02 11:37:13 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -313,14 +313,7 @@ int CRYPTO_add_lock(int *pointer, int amount, int type, const char *file,
313 int line); 313 int line);
314 314
315/* Don't use this structure directly. */ 315/* Don't use this structure directly. */
316typedef struct crypto_threadid_st { 316typedef struct crypto_threadid_st CRYPTO_THREADID;
317 void *ptr;
318 unsigned long val;
319} CRYPTO_THREADID;
320void CRYPTO_THREADID_current(CRYPTO_THREADID *id);
321int CRYPTO_THREADID_cmp(const CRYPTO_THREADID *a, const CRYPTO_THREADID *b);
322void CRYPTO_THREADID_cpy(CRYPTO_THREADID *dest, const CRYPTO_THREADID *src);
323unsigned long CRYPTO_THREADID_hash(const CRYPTO_THREADID *id);
324 317
325#ifndef LIBRESSL_INTERNAL 318#ifndef LIBRESSL_INTERNAL
326/* These functions are deprecated no-op stubs */ 319/* These functions are deprecated no-op stubs */