MCPcopy Create free account
hub / github.com/apache/httpd / modssl_X509_NAME_ENTRY_to_string

Function modssl_X509_NAME_ENTRY_to_string

modules/ssl/ssl_util_ssl.c:223–229  ·  view source on GitHub ↗

convert a NAME_ENTRY to UTF8 string */

Source from the content-addressed store, hash-verified

221
222/* convert a NAME_ENTRY to UTF8 string */
223char *modssl_X509_NAME_ENTRY_to_string(apr_pool_t *p, const X509_NAME_ENTRY *xsne,
224 int raw)
225{
226 char *result = modssl_ASN1_STRING_convert(p, X509_NAME_ENTRY_get_data(xsne), raw);
227 ap_xlate_proto_from_ascii(result, len);
228 return result;
229}
230
231/*
232 * convert an X509_NAME to an RFC 2253 formatted string, optionally truncated

Callers 3

getIDsFunction · 0.85
extract_dnFunction · 0.85

Calls 2

Tested by

no test coverage detected