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 "URL.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

static int aclHostDomainCompare ( char *const &  a,
char *const &  b 
)
static

Definition at line 29 of file ServerName.cc.

References a, debugs, matchDomainName(), and mdnHonorWildcards.

Referenced by ACLServerNameData::match().

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 67 of file ServerName.cc.

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors