summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2020-09-18 15:21:43 -0400
committerKurt Roeckx <kurt@roeckx.be>2020-09-20 14:20:27 +0200
commit08e9684c53deab7d815be47bfdf0f324a0d10ad9 (patch)
tree94cbde852193527cc82911d85aac41d3a3c91ebb /include
parent28a5f5b39c54751c825c05677e23406eda37d16b (diff)
Deprecate ASN1_STRING_length_set in OpenSSL 3.0.
Fixes #12885 Reviewed-by: Kurt Roeckx <kurt@roeckx.be> GH: #12922
Diffstat (limited to 'include')
-rw-r--r--include/openssl/asn1.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/asn1.h.in b/include/openssl/asn1.h.in
index c4d6f068ae..dfb1c9cae5 100644
--- a/include/openssl/asn1.h.in
+++ b/include/openssl/asn1.h.in
@@ -539,7 +539,7 @@ int ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b);
int ASN1_STRING_set(ASN1_STRING *str, const void *data, int len);
void ASN1_STRING_set0(ASN1_STRING *str, void *data, int len);
int ASN1_STRING_length(const ASN1_STRING *x);
-void ASN1_STRING_length_set(ASN1_STRING *x, int n);
+DEPRECATEDIN_3_0(void ASN1_STRING_length_set(ASN1_STRING *x, int n))
int ASN1_STRING_type(const ASN1_STRING *x);
DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x);