summaryrefslogtreecommitdiff
path: root/src/openvpn/occ.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvpn/occ.c')
-rw-r--r--src/openvpn/occ.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/openvpn/occ.c b/src/openvpn/occ.c
index 80504af..3a2bcab 100644
--- a/src/openvpn/occ.c
+++ b/src/openvpn/occ.c
@@ -5,7 +5,7 @@
* packet encryption, packet authentication, and
* packet compression.
*
- * Copyright (C) 2002-2018 OpenVPN Inc <sales@openvpn.net>
+ * Copyright (C) 2002-2021 OpenVPN Inc <sales@openvpn.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
@@ -29,14 +29,10 @@
#include "syshead.h"
-#ifdef ENABLE_OCC
-
#include "occ.h"
-
+#include "forward.h"
#include "memdbg.h"
-#include "forward-inline.h"
-#include "occ-inline.h"
/*
* This random string identifies an OpenVPN
@@ -426,10 +422,3 @@ process_received_occ_msg(struct context *c)
}
c->c2.buf.len = 0; /* don't pass packet on */
}
-
-#else /* ifdef ENABLE_OCC */
-static void
-dummy(void)
-{
-}
-#endif /* ifdef ENABLE_OCC */