]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/AtStep.cc
ee39b69cac98a863ef3314b3609a540f54eb7b57
2 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
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.
13 #include "acl/AtStep.h"
14 #include "acl/AtStepData.h"
15 #include "acl/Checklist.h"
16 #include "client_side.h"
17 #include "http/Stream.h"
18 #include "ssl/ServerBump.h"
21 ACLAtStepStrategy::match (ACLData
<Ssl::BumpStep
> * &data
, ACLFilledChecklist
*checklist
, ACLFlags
&)
23 Ssl::ServerBump
*bump
= NULL
;
24 if (checklist
->conn() != NULL
&& (bump
= checklist
->conn()->serverBump()))
25 return data
->match(bump
->step
);
27 return data
->match(Ssl::bumpStep1
);
32 ACLAtStepStrategy::Instance()
37 ACLAtStepStrategy
ACLAtStepStrategy::Instance_
;
39 #endif /* USE_OPENSSL */