aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/dsa/dsa_depr.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-01-30 07:23:39 +1000
committerPauli <paul.dale@oracle.com>2020-02-12 08:52:41 +1000
commitf41ac0eeab9d2889d44e3acf6ff1e8274d03d73e (patch)
treeba3620a537ece73983886b7449eab118e5869223 /crypto/dsa/dsa_depr.c
parent7f6deaf68e42e979a2084989db2c32193825d1b3 (diff)
downloadopenssl-f41ac0eeab9d2889d44e3acf6ff1e8274d03d73e.tar.gz
Deprecate the low level DSA functions.
Use of the low level DSA functions has been informally discouraged for a long time. We now formally deprecate them. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10977)
Diffstat (limited to 'crypto/dsa/dsa_depr.c')
-rw-r--r--crypto/dsa/dsa_depr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/dsa/dsa_depr.c b/crypto/dsa/dsa_depr.c
index 2b363e2642..5c8f9af2b9 100644
--- a/crypto/dsa/dsa_depr.c
+++ b/crypto/dsa/dsa_depr.c
@@ -13,6 +13,12 @@
*/
/*
+ * DSA low level APIs are deprecated for public use, but still ok for
+ * internal use.
+ */
+#include "internal/deprecated.h"
+
+/*
* Parameter generation follows the updated Appendix 2.2 for FIPS PUB 186,
* also Appendix 2.2 of FIPS PUB 186-1 (i.e. use SHA as defined in FIPS PUB
* 180-1)