Unexport DIST_POINT_set_dpname Probably we could remove this altogether. The new verifier doesn't support nameRelativeToCRLIssuer. Change-Id: Ibb2210d513827577656d816fad90f658c2875601 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/65792 Reviewed-by: Bob Beck <bbe@google.com> Commit-Queue: David Benjamin <davidben@google.com>
diff --git a/crypto/x509/internal.h b/crypto/x509/internal.h index b2b6ad9..1cdefaf 100644 --- a/crypto/x509/internal.h +++ b/crypto/x509/internal.h
@@ -592,6 +592,9 @@ int X509_PURPOSE_get_trust(const X509_PURPOSE *xp); +// TODO(https://crbug.com/boringssl/695): Remove this. +int DIST_POINT_set_dpname(DIST_POINT_NAME *dpn, X509_NAME *iname); + #if defined(__cplusplus) } // extern C
diff --git a/include/openssl/x509.h b/include/openssl/x509.h index f671129..24179d1 100644 --- a/include/openssl/x509.h +++ b/include/openssl/x509.h
@@ -4742,9 +4742,6 @@ // an |X509_NAME|. DECLARE_ASN1_FUNCTIONS(ISSUING_DIST_POINT) -OPENSSL_EXPORT int DIST_POINT_set_dpname(DIST_POINT_NAME *dpn, - X509_NAME *iname); - // TODO(https://crbug.com/boringssl/407): This is not const because it contains // an |X509_NAME|. DECLARE_ASN1_FUNCTIONS(ACCESS_DESCRIPTION)