aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2024-01-01 10:08:44 -0500
committerBoringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com>2024-02-15 20:03:18 +0000
commit46ff4f7f73304a0ccf65109a2ff47469cf4cfb26 (patch)
tree8bb147d07f9b829ef784391ac7678f756a95d46c
parentc52806157c97105da7fdc2b021d0a0fcd5186bf3 (diff)
downloadboringssl-46ff4f7f73304a0ccf65109a2ff47469cf4cfb26.zip
boringssl-46ff4f7f73304a0ccf65109a2ff47469cf4cfb26.tar.gz
boringssl-46ff4f7f73304a0ccf65109a2ff47469cf4cfb26.tar.bz2
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>
-rw-r--r--crypto/x509/internal.h3
-rw-r--r--include/openssl/x509.h3
2 files changed, 3 insertions, 3 deletions
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_is_valid_trust_id(int trust);
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 @@ DECLARE_ASN1_FUNCTIONS(DIST_POINT_NAME)
// 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)