summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/a_sign.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-02-24 22:33:52 +0100
committerRichard Levitte <levitte@openssl.org>2020-02-27 23:21:14 +0100
commit12d99aac973e5e6723f62f19b07b9c8bcc81c57b (patch)
tree0240dbbbbf97e9664f3c667263df5d64dcc5c7c7 /crypto/asn1/a_sign.c
parent8efc4a9c656b8b3eabeac64c54efdeb07dd42f8e (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_sign.c')
-rw-r--r--crypto/asn1/a_sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/a_sign.c b/crypto/asn1/a_sign.c
index 0089ce29dd..4b3a6da9a1 100644
--- a/crypto/asn1/a_sign.c
+++ b/crypto/asn1/a_sign.c
@@ -22,7 +22,7 @@
#include "crypto/asn1.h"
#include "crypto/evp.h"
-#ifndef NO_ASN1_OLD
+#ifndef OPENSSL_NO_DEPRECATED_3_0
int ASN1_sign(i2d_of_void *i2d, X509_ALGOR *algor1, X509_ALGOR *algor2,
ASN1_BIT_STRING *signature, char *data, EVP_PKEY *pkey,