Home
last modified time | relevance | path

Searched refs:subjectname (Results 1 – 1 of 1) sorted by relevance

/PHP-8.2/ext/openssl/
H A Dxp_ssl.c418 static bool php_openssl_matches_wildcard_name(const char *subjectname, const char *certname) /* {{{… in php_openssl_matches_wildcard_name() argument
424 if (strcasecmp(subjectname, certname) == 0) { in php_openssl_matches_wildcard_name()
435 if (prefix_len && strncasecmp(subjectname, certname, prefix_len) != 0) { in php_openssl_matches_wildcard_name()
440 subject_len = strlen(subjectname); in php_openssl_matches_wildcard_name()
445 return strcasecmp(wildcard + 1, subjectname + subject_len - suffix_len) == 0 && in php_openssl_matches_wildcard_name()
446 memchr(subjectname + prefix_len, '.', subject_len - suffix_len - prefix_len) == NULL; in php_openssl_matches_wildcard_name()

Completed in 15 milliseconds