ServerName.cc File Reference
#include "squid.h"
#include "acl/DomainData.h"
#include "acl/FilledChecklist.h"
#include "acl/RegexData.h"
#include "acl/ServerName.h"
#include "client_side.h"
#include "fde.h"
#include "http/Stream.h"
#include "HttpRequest.h"
#include "ipcache.h"
#include "SquidString.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 int aclHostDomainCompare ( char *const &  a,
char *const &  b 
)
static

Definition at line 28 of file ServerName.cc.

References debugs, matchDomainName(), and mdnHonorWildcards.

Referenced by ACLServerNameData::match().

◆ check_cert_domain()

template<class MatchType >
int check_cert_domain ( void *  check_data,
ASN1_STRING *  cn_data 
)

A helper function to be used with Ssl::matchX509CommonNames().

Return values
0when the name (cn or an alternate name) matches acl data
1when the name does not match

Definition at line 66 of file ServerName.cc.

References debugs, ACLData< M >::match(), and s.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors