diff options
author | Richard Levitte <levitte@openssl.org> | 2020-02-24 22:33:52 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-02-27 23:21:14 +0100 |
commit | 12d99aac973e5e6723f62f19b07b9c8bcc81c57b (patch) | |
tree | 0240dbbbbf97e9664f3c667263df5d64dcc5c7c7 /crypto/asn1/a_digest.c | |
parent | 8efc4a9c656b8b3eabeac64c54efdeb07dd42f8e (diff) |
Deprecate ASN1_sign(), ASN1_verify() and ASN1_digest()
These are old functions that fell out of use with OpenSL 0.9.7.
It's more than time to deprecate them.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11161)
Diffstat (limited to 'crypto/asn1/a_digest.c')
-rw-r--r-- | crypto/asn1/a_digest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/a_digest.c b/crypto/asn1/a_digest.c index ad6a17d245..22758feac9 100644 --- a/crypto/asn1/a_digest.c +++ b/crypto/asn1/a_digest.c @@ -18,7 +18,7 @@ #include <openssl/buffer.h> #include <openssl/x509.h> -#ifndef NO_ASN1_OLD +#ifndef OPENSSL_NO_DEPRECATED_3_0 int ASN1_digest(i2d_of_void *i2d, const EVP_MD *type, char *data, unsigned char *md, unsigned int *len) |