mirror of
https://github.com/apache/httpd.git
synced 2025-08-05 16:55:50 +03:00
In ssl_check_public_cert(), also take dNSNames in the subjectAltName
extension into account when checking the cert against the configured ServerName. PR 32652, PR 47051. Replace SSL_X509_getCN() by SSL_X509_getIDs(), which returns an array of a cert's DNS-IDs and CN-IDs (terms as coined by RFC 6125). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1176752 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -68,7 +68,7 @@ BOOL SSL_X509_isSGC(X509 *);
|
||||
BOOL SSL_X509_getBC(X509 *, int *, int *);
|
||||
char *SSL_X509_NAME_ENTRY_to_string(apr_pool_t *p, X509_NAME_ENTRY *xsne);
|
||||
char *SSL_X509_NAME_to_string(apr_pool_t *, X509_NAME *, unsigned int);
|
||||
BOOL SSL_X509_getCN(apr_pool_t *, X509 *, char **);
|
||||
BOOL SSL_X509_getIDs(apr_pool_t *, X509 *, apr_array_header_t **);
|
||||
BOOL SSL_X509_INFO_load_file(apr_pool_t *, STACK_OF(X509_INFO) *, const char *);
|
||||
BOOL SSL_X509_INFO_load_path(apr_pool_t *, STACK_OF(X509_INFO) *, const char *);
|
||||
int SSL_CTX_use_certificate_chain(SSL_CTX *, char *, int, pem_password_cb *);
|
||||
|
Reference in New Issue
Block a user