summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-04-30 17:07:47 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-04-30 17:07:47 +0000
commitbdebf4c645a309c488f5cbfdd909f76c44d7117f (patch)
treea2bf9cfe0c607a1c2bc30cb5b9fdd4ebb56ec31d
parentcaf94793036f4b190aa4977f26300a9403150832 (diff)
Remove __dead again. Apparently this causes issues for some upstreams.
Thanks to orbea for the report
-rw-r--r--lib/libcrypto/crypto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/crypto.h b/lib/libcrypto/crypto.h
index 5b1618ac9b7..05192020371 100644
--- a/lib/libcrypto/crypto.h
+++ b/lib/libcrypto/crypto.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: crypto.h,v 1.59 2023/04/28 21:40:14 tb Exp $ */
+/* $OpenBSD: crypto.h,v 1.60 2023/04/30 17:07:46 tb Exp $ */
/* ====================================================================
* Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved.
*
@@ -488,7 +488,7 @@ typedef int *CRYPTO_MEM_LEAK_CB(unsigned long, const char *, int, int, void *);
int CRYPTO_mem_leaks_cb(CRYPTO_MEM_LEAK_CB *cb);
/* die if we have to */
-__dead void OpenSSLDie(const char *file, int line, const char *assertion);
+void OpenSSLDie(const char *file, int line, const char *assertion);
#define OPENSSL_assert(e) (void)((e) ? 0 : (OpenSSLDie(__FILE__, __LINE__, #e),1))
uint64_t OPENSSL_cpu_caps(void);