Expose new API in headers and make X509 structs opaque.
authortb <tb@openbsd.org>
Sun, 31 Oct 2021 16:32:31 +0000 (16:32 +0000)
committertb <tb@openbsd.org>
Sun, 31 Oct 2021 16:32:31 +0000 (16:32 +0000)
lib/libcrypto/opensslfeatures.h

index ba80520..3b2c4cb 100644 (file)
@@ -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