Go to the documentation of this file.
67 #include "../internal.h"
68 #include "../lhash/internal.h"
100 int len,
int inform,
int nid)
109 unsigned long mask = tbl->
mask;
129 #define ub_name 32768
130 #define ub_common_name 64
131 #define ub_locality_name 128
132 #define ub_state_name 128
133 #define ub_organization_name 64
134 #define ub_organization_unit_name 64
135 #define ub_email_address 128
136 #define ub_serial_number 64
167 if (
a->nid <
b->nid) {
170 if (
a->nid >
b->nid) {
198 if (string_tables != NULL) {
199 tbl = lh_ASN1_STRING_TABLE_retrieve(string_tables, &
key);
209 unsigned long mask,
unsigned long flags)
220 if (string_tables == NULL) {
222 if (string_tables == NULL) {
230 if (lh_ASN1_STRING_TABLE_retrieve(string_tables, &
key) != NULL) {
246 if (!lh_ASN1_STRING_TABLE_insert(string_tables, &old_tbl, tbl)) {
250 assert(old_tbl == NULL);
#define NID_pkcs9_emailAddress
#define CRYPTO_STATIC_MUTEX_INIT
#define NID_organizationName
#define CRYPTO_STATIC_MUTEX_unlock_write
static uint32_t table_hash(const ASN1_STRING_TABLE *tbl)
#define OPENSSL_PUT_ERROR(library, reason)
#define OPENSSL_ARRAY_SIZE(array)
#define B_ASN1_PRINTABLESTRING
#define ub_organization_unit_name
#define ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED
#define CRYPTO_STATIC_MUTEX_unlock_read
unsigned long ASN1_STRING_get_default_mask(void)
void ASN1_STRING_TABLE_cleanup(void)
#define NID_stateOrProvinceName
#define CRYPTO_STATIC_MUTEX_lock_write
#define NID_domainComponent
int ASN1_STRING_set_default_mask_asc(const char *p)
#define ASN1_mbstring_copy
#define NID_pkcs9_unstructuredAddress
ASN1_STRING * ASN1_STRING_set_by_NID(ASN1_STRING **out, const unsigned char *in, int len, int inform, int nid)
static const ASN1_STRING_TABLE * asn1_string_table_get(int nid)
#define NID_pkcs9_unstructuredName
static const ASN1_STRING_TABLE tbl_standard[]
static LHASH_OF(ASN1_STRING_TABLE)
static int table_cmp_void(const void *a, const void *b)
void asn1_get_string_table_for_testing(const ASN1_STRING_TABLE **out_ptr, size_t *out_len)
#define DEFINE_LHASH_OF(type)
UniquePtr< SSL_SESSION > ret
static int table_cmp(const ASN1_STRING_TABLE *a, const ASN1_STRING_TABLE *b)
#define NID_organizationalUnitName
#define CRYPTO_STATIC_MUTEX_lock_read
#define ub_organization_name
#define NID_pkcs9_challengePassword
#define ASN1_mbstring_ncopy
OPENSSL_EXPORT void ASN1_STRING_set_default_mask(unsigned long mask)
int ASN1_STRING_TABLE_add(int nid, long minsize, long maxsize, unsigned long mask, unsigned long flags)
#define B_ASN1_UTF8STRING
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:39