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 int aclHostDomainCompare ( char *const &  a,
char *const &  b 
)
static

Definition at line 23 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 53 of file ServerName.cc.

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors