AtStep.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #include "squid.h"
10 
11 #if USE_OPENSSL
12 
13 #include "acl/AtStep.h"
14 #include "acl/AtStepData.h"
15 #include "acl/FilledChecklist.h"
16 #include "client_side.h"
17 #include "http/Stream.h"
18 #include "ssl/ServerBump.h"
19 
20 int
22 {
23  Ssl::ServerBump *bump = NULL;
24  if (checklist->conn() != NULL && (bump = checklist->conn()->serverBump()))
25  return data->match(bump->step);
26  else
27  return data->match(Ssl::bumpStep1);
28  return 0;
29 }
30 
31 #endif /* USE_OPENSSL */
32 
Ssl::ServerBump * serverBump()
Definition: client_side.h:253
virtual bool match(M)=0
ConnStateData * conn() const
The client connection manager.
void const char HLPCB void * data
Definition: stub_helper.cc:16
virtual int match(ACLData< MatchType > *&, ACLFilledChecklist *) override
Definition: AtStep.cc:21
#define NULL
Definition: types.h:166

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors