Deprecate the low level Diffie-Hellman functions.
[openssl.git] / providers / implementations / serializers / serializer_dh.c
index da74e221ef268108811285aedebc8829bb84dfc1..31ba175dd7a3f0625f4d603e8c316da20262bf8c 100644 (file)
@@ -7,6 +7,12 @@
  * https://www.openssl.org/source/license.html
  */
 
+/*
+ * DH low level APIs are deprecated for public use, but still ok for
+ * internal use.
+ */
+#include "internal/deprecated.h"
+
 #include <openssl/dh.h>
 #include <openssl/err.h>
 #include "prov/bio.h"             /* ossl_prov_bio_printf() */