summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/l2tp
diff options
context:
space:
mode:
authorDenys Fedoryshchenko <denys.f@collabora.com>2025-12-12 14:51:30 +0200
committerGitHub <noreply@github.com>2025-12-12 14:51:30 +0200
commit5e7dfbe6e1c6c2a12c093303a65b8260e5165aaf (patch)
treedd63b0fdcb0b81c025a1cf58015e2e568d548314 /accel-pppd/ctrl/l2tp
parent849b24855ae60fbb20887cfb7e650ea480c36f1f (diff)
parentb8c57bf4bd8276716a581ede91919db691f621c0 (diff)
downloadaccel-ppp-5e7dfbe6e1c6c2a12c093303a65b8260e5165aaf.tar.gz
accel-ppp-5e7dfbe6e1c6c2a12c093303a65b8260e5165aaf.zip
Merge pull request #275 from nuclearcat/backport-nr-pr-17
Backporting PR#17 from accel-ppp-ng
Diffstat (limited to 'accel-pppd/ctrl/l2tp')
-rw-r--r--accel-pppd/ctrl/l2tp/l2tp.c3
-rw-r--r--accel-pppd/ctrl/l2tp/packet.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/accel-pppd/ctrl/l2tp/l2tp.c b/accel-pppd/ctrl/l2tp/l2tp.c
index ecf66f91..d6807377 100644
--- a/accel-pppd/ctrl/l2tp/l2tp.c
+++ b/accel-pppd/ctrl/l2tp/l2tp.c
@@ -16,6 +16,8 @@
#include <linux/if_ether.h>
#include <linux/if_pppox.h>
+#include <openssl/md5.h>
+
#include "triton.h"
#include "mempool.h"
#include "log.h"
@@ -24,7 +26,6 @@
#include "utils.h"
#include "iprange.h"
#include "cli.h"
-#include "crypto.h"
#include "connlimit.h"
diff --git a/accel-pppd/ctrl/l2tp/packet.c b/accel-pppd/ctrl/l2tp/packet.c
index e2756a7e..1e1488b5 100644
--- a/accel-pppd/ctrl/l2tp/packet.c
+++ b/accel-pppd/ctrl/l2tp/packet.c
@@ -8,7 +8,8 @@
#include <fcntl.h>
#include <arpa/inet.h>
-#include "crypto.h"
+#include <openssl/md5.h>
+
#include "triton.h"
#include "log.h"
#include "mempool.h"