summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-10-31 16:32:32 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-10-31 16:32:32 +0000
commit6eddd4032d6d8cf419b49d34b3c04fb88136b5c3 (patch)
tree9efa6c70bd8192f1fe045dea9e75bd52fd59c222 /lib/libcrypto
parente66c323402e7b2e5cf7b59208d169e3c09efc44b (diff)
Expose new API in headers and make X509 structs opaque.
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/opensslfeatures.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libcrypto/opensslfeatures.h b/lib/libcrypto/opensslfeatures.h
index ba80520c8ef..3b2c4cb0d9a 100644
--- a/lib/libcrypto/opensslfeatures.h
+++ b/lib/libcrypto/opensslfeatures.h
@@ -6,6 +6,9 @@
#define LIBRESSL_HAS_TLS1_3
#define LIBRESSL_HAS_DTLS1_2
+#define LIBRESSL_NEW_API
+#define LIBRESSL_OPAQUE_X509
+
#define OPENSSL_THREADS
#define OPENSSL_NO_BUF_FREELISTS