aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2021-08-08 15:50:42 -0400
committerDavid Benjamin <davidben@google.com>2021-08-10 20:44:31 +0000
commit11a24ae021d3b1008f640e2b51a8cc2ea7115a60 (patch)
tree0a689256485eac6c5b13e6405b4651f1abed475b /include
parentf8b3961b0209d85382ea2b19609d787dd7c50c08 (diff)
downloadboringssl-11a24ae021d3b1008f640e2b51a8cc2ea7115a60.zip
boringssl-11a24ae021d3b1008f640e2b51a8cc2ea7115a60.tar.gz
boringssl-11a24ae021d3b1008f640e2b51a8cc2ea7115a60.tar.bz2
Unexport ub_* constants.
These constants aren't suitably namespaced and, moreover, are redefined in a_strnid.c. (The constants aren't especially useful because an X509_NAME doesn't check the upper bound.) Update-Note: Removed some unnamespaced constants. Change-Id: I7d15ae731628d3665119081289947600e7f38065 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/48768 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/asn1.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/openssl/asn1.h b/include/openssl/asn1.h
index 788ef2e..b2016eb 100644
--- a/include/openssl/asn1.h
+++ b/include/openssl/asn1.h
@@ -779,17 +779,6 @@ typedef struct asn1_string_table_st {
unsigned long flags;
} ASN1_STRING_TABLE;
-// size limits: this stuff is taken straight from RFC2459
-
-#define ub_name 32768
-#define ub_common_name 64
-#define ub_locality_name 128
-#define ub_state_name 128
-#define ub_organization_name 64
-#define ub_organization_unit_name 64
-#define ub_title 64
-#define ub_email_address 128
-
// Declarations for template structures: for full definitions
// see asn1t.h
typedef struct ASN1_TEMPLATE_st ASN1_TEMPLATE;