]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/asn1/asn1_lib.c
Deprecate ASN1_STRING_length_set in OpenSSL 3.0.
[thirdparty/openssl.git] / crypto / asn1 / asn1_lib.c
index 1331f608f42bd8fe671b5522375bcd304714e72f..d6160ac9796a500d418ba762aaf4b5b7d3d8e90a 100644 (file)
@@ -387,10 +387,12 @@ int ASN1_STRING_length(const ASN1_STRING *x)
     return x->length;
 }
 
+#ifndef OPENSSL_NO_DEPRECATED_3_0
 void ASN1_STRING_length_set(ASN1_STRING *x, int len)
 {
     x->length = len;
 }
+#endif
 
 int ASN1_STRING_type(const ASN1_STRING *x)
 {