You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2014/08/01 22:08:42 UTC
git commit: TS-2367: Don't define OCSPContinuation if there is no
OCSP support
Repository: trafficserver
Updated Branches:
refs/heads/master de6bac77d -> f5a3d5a2f
TS-2367: Don't define OCSPContinuation if there is no OCSP support
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/f5a3d5a2
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/f5a3d5a2
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/f5a3d5a2
Branch: refs/heads/master
Commit: f5a3d5a2ff8ada63015748532f6904d6d94ed48e
Parents: de6bac7
Author: Bryan Call <bc...@apache.org>
Authored: Fri Aug 1 13:07:27 2014 -0700
Committer: Bryan Call <bc...@apache.org>
Committed: Fri Aug 1 13:08:34 2014 -0700
----------------------------------------------------------------------
iocore/net/SSLNetProcessor.cc | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/f5a3d5a2/iocore/net/SSLNetProcessor.cc
----------------------------------------------------------------------
diff --git a/iocore/net/SSLNetProcessor.cc b/iocore/net/SSLNetProcessor.cc
index c6d1a02..06b2cfc 100644
--- a/iocore/net/SSLNetProcessor.cc
+++ b/iocore/net/SSLNetProcessor.cc
@@ -35,6 +35,7 @@ SSLNetProcessor ssl_NetProcessor;
NetProcessor& sslNetProcessor = ssl_NetProcessor;
EventType SSLNetProcessor::ET_SSL;
+#ifdef HAVE_OPENSSL_OCSP_STAPLING
struct OCSPContinuation:public Continuation
{
int mainEvent(int /* event ATS_UNUSED */, Event* /* e ATS_UNUSED */)
@@ -49,6 +50,7 @@ struct OCSPContinuation:public Continuation
SET_HANDLER(&OCSPContinuation::mainEvent);
}
};
+#endif /* HAVE_OPENSSL_OCSP_STAPLING */
void
SSLNetProcessor::cleanup(void)