ServerName.cc File Reference
#include "squid.h"
#include "acl/FilledChecklist.h"
#include "acl/ServerName.h"
#include "client_side.h"
#include "http/Stream.h"
#include "HttpRequest.h"
#include "ssl/bio.h"
#include "ssl/ServerBump.h"
#include "ssl/support.h"
Include dependency graph for ServerName.cc:
Go to the source code of this file.
Functions | |
static int | aclHostDomainCompare (char *const &a, char *const &b) |
template<class MatchType > | |
int | check_cert_domain (void *check_data, ASN1_STRING *cn_data) |
Function Documentation
◆ aclHostDomainCompare()
|
static |
Definition at line 23 of file ServerName.cc.
References debugs, matchDomainName(), and mdnHonorWildcards.
Referenced by ACLServerNameData::match().
◆ check_cert_domain()
A helper function to be used with Ssl::matchX509CommonNames().
- Return values
-
0 when the name (cn or an alternate name) matches acl data 1 when the name does not match
Definition at line 53 of file ServerName.cc.
References debugs, and ACLData< M >::match().