summaryrefslogtreecommitdiff
path: root/src/mitm_stub.cc
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-03-28 22:53:04 +0200
committerJoel Klinghed <the_jk@yahoo.com>2017-03-28 22:53:04 +0200
commit7e9b90fb692b80df159992f62458c70c9fe36781 (patch)
treed4adcaff9ed012fe84f889be9d3381d81ef34ac5 /src/mitm_stub.cc
parentd01e13c9dee53c3ab4faf70a215f4d1dcfed9e87 (diff)
Support compiling without SSL
And prepare for other SSL implementations than mbedtls
Diffstat (limited to 'src/mitm_stub.cc')
-rw-r--r--src/mitm_stub.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mitm_stub.cc b/src/mitm_stub.cc
new file mode 100644
index 0000000..6f4dcb0
--- /dev/null
+++ b/src/mitm_stub.cc
@@ -0,0 +1,11 @@
+// -*- mode: c++; c-basic-offset: 2; -*-
+
+#include "common.hh"
+
+#include "mitm.hh"
+
+// static
+Mitm* Mitm::create(Logger* UNUSED(logger), Config* UNUSED(config),
+ std::string const& UNUSED(cwd)) {
+ return nullptr;
+}