summaryrefslogtreecommitdiff
path: root/src/libsystemd
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd')
-rw-r--r--src/libsystemd/src/sd-journal/fsprg.c3
l---------src/libsystemd/src/sd-journal/gcrypt-util.c1
l---------src/libsystemd/src/sd-journal/gcrypt-util.h1
-rw-r--r--src/libsystemd/src/sd-journal/journal-authenticate.c2
4 files changed, 3 insertions, 4 deletions
diff --git a/src/libsystemd/src/sd-journal/fsprg.c b/src/libsystemd/src/sd-journal/fsprg.c
index 612b10f3a9..c0f59b28fd 100644
--- a/src/libsystemd/src/sd-journal/fsprg.c
+++ b/src/libsystemd/src/sd-journal/fsprg.c
@@ -29,8 +29,9 @@
#include <gcrypt.h>
#include <string.h>
+#include "systemd-gcrypt/gcrypt-util.h"
+
#include "fsprg.h"
-#include "gcrypt-util.h"
#define ISVALID_SECPAR(secpar) (((secpar) % 16 == 0) && ((secpar) >= 16) && ((secpar) <= 16384))
#define VALIDATE_SECPAR(secpar) assert(ISVALID_SECPAR(secpar));
diff --git a/src/libsystemd/src/sd-journal/gcrypt-util.c b/src/libsystemd/src/sd-journal/gcrypt-util.c
deleted file mode 120000
index 9bcbc9189b..0000000000
--- a/src/libsystemd/src/sd-journal/gcrypt-util.c
+++ /dev/null
@@ -1 +0,0 @@
-../../../libsystemd-shared/src/gcrypt-util.c \ No newline at end of file
diff --git a/src/libsystemd/src/sd-journal/gcrypt-util.h b/src/libsystemd/src/sd-journal/gcrypt-util.h
deleted file mode 120000
index aea8263ab0..0000000000
--- a/src/libsystemd/src/sd-journal/gcrypt-util.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../libsystemd-shared/include/systemd-shared/gcrypt-util.h \ No newline at end of file
diff --git a/src/libsystemd/src/sd-journal/journal-authenticate.c b/src/libsystemd/src/sd-journal/journal-authenticate.c
index d64152a2be..f3a207d88d 100644
--- a/src/libsystemd/src/sd-journal/journal-authenticate.c
+++ b/src/libsystemd/src/sd-journal/journal-authenticate.c
@@ -22,9 +22,9 @@
#include "systemd-basic/fd-util.h"
#include "systemd-basic/hexdecoct.h"
+#include "systemd-gcrypt/gcrypt-util.h"
#include "fsprg.h"
-#include "gcrypt-util.h"
#include "journal-authenticate.h"
#include "journal-def.h"
#include "journal-file.h"