diff options
author | Pauli <paul.dale@oracle.com> | 2020-01-30 07:23:39 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-02-12 08:52:41 +1000 |
commit | f41ac0eeab9d2889d44e3acf6ff1e8274d03d73e (patch) | |
tree | ba3620a537ece73983886b7449eab118e5869223 /crypto/pem | |
parent | 7f6deaf68e42e979a2084989db2c32193825d1b3 (diff) |
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/pem')
-rw-r--r-- | crypto/pem/pem_all.c | 6 | ||||
-rw-r--r-- | crypto/pem/pem_info.c | 6 | ||||
-rw-r--r-- | crypto/pem/pvkfmt.c | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/crypto/pem/pem_all.c b/crypto/pem/pem_all.c index ba98371d46..d4b069d326 100644 --- a/crypto/pem/pem_all.c +++ b/crypto/pem/pem_all.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * DSA low level APIs are deprecated for public use, but still ok for + * internal use. + */ +#include "internal/deprecated.h" + #include <stdio.h> #include "internal/cryptlib.h" #include <openssl/bio.h> diff --git a/crypto/pem/pem_info.c b/crypto/pem/pem_info.c index 919769ae4f..6c8eb2a919 100644 --- a/crypto/pem/pem_info.c +++ b/crypto/pem/pem_info.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * DSA low level APIs are deprecated for public use, but still ok for + * internal use. + */ +#include "internal/deprecated.h" + #include <stdio.h> #include "internal/cryptlib.h" #include <openssl/buffer.h> diff --git a/crypto/pem/pvkfmt.c b/crypto/pem/pvkfmt.c index 95bd4da3f5..7f9de421f1 100644 --- a/crypto/pem/pvkfmt.c +++ b/crypto/pem/pvkfmt.c @@ -12,6 +12,12 @@ * and PRIVATEKEYBLOB). */ +/* + * DSA low level APIs are deprecated for public use, but still ok for + * internal use. + */ +#include "internal/deprecated.h" + #include "internal/cryptlib.h" #include <openssl/pem.h> #include <openssl/rand.h> |