summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/opensslconf.h
diff options
context:
space:
mode:
authortb <>2025-08-25 16:48:02 +0000
committertb <>2025-08-25 16:48:02 +0000
commit6cbc8c56cfb66d812e5b9f335973b11b213f5665 (patch)
treeaf61c3bd67a849abe3033878ae534cd5184035e4 /src/lib/libcrypto/opensslconf.h
parent8d69d0f7a170ebed7efc8c4a2097bc0d203981db (diff)
downloadopenbsd-6cbc8c56cfb66d812e5b9f335973b11b213f5665.tar.gz
openbsd-6cbc8c56cfb66d812e5b9f335973b11b213f5665.tar.bz2
openbsd-6cbc8c56cfb66d812e5b9f335973b11b213f5665.zip
Move opensslconf.h to a machine-independent place
After drilling through many layers of fossilized turds from a long-forgotten millenium, jsing and I finally found oil^Wa machine-independent version of opensslconf.h. Remove the no longer needed versions in arch/*/ and move one copy to the top level. Add an RCS tag and place the remaining garbage in the public domain. ok jsing
Diffstat (limited to 'src/lib/libcrypto/opensslconf.h')
-rw-r--r--src/lib/libcrypto/opensslconf.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/libcrypto/opensslconf.h b/src/lib/libcrypto/opensslconf.h
new file mode 100644
index 0000000000..5371f182c7
--- /dev/null
+++ b/src/lib/libcrypto/opensslconf.h
@@ -0,0 +1,18 @@
1/* $OpenBSD: opensslconf.h,v 1.3 2025/08/25 16:48:01 tb Exp $ */
2/*
3 * Public domain.
4 */
5
6#include <openssl/opensslfeatures.h>
7
8#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
9
10#ifndef OPENSSL_FILE
11#ifdef OPENSSL_NO_FILENAMES
12#define OPENSSL_FILE ""
13#define OPENSSL_LINE 0
14#else
15#define OPENSSL_FILE __FILE__
16#define OPENSSL_LINE __LINE__
17#endif
18#endif