summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-06-21 17:58:58 +0200
committerLennart Poettering <lennart@poettering.net>2021-07-08 09:30:18 +0200
commit8f860b4df0bf0c92b4b1bca242b70fe0b7ab1d48 (patch)
treecbfb4e4bd72ee19274d7ae3706277034d4db61cd /src
parenthexdecoct: optionally, line break base64 encoded data (diff)
downloadsystemd-8f860b4df0bf0c92b4b1bca242b70fe0b7ab1d48.tar.xz
systemd-8f860b4df0bf0c92b4b1bca242b70fe0b7ab1d48.zip
util: move src/basic/creds-util.[ch] → src/shared/
This is preparation for adding encryption support to the credentials logic, and we thus would like to add more deps. Let's hence move things from src/basic/ to src/shared, so that we can rely on the OpenSSL utilities already in src/shared.
Diffstat (limited to 'src')
-rw-r--r--src/basic/meson.build2
-rw-r--r--src/shared/creds-util.c (renamed from src/basic/creds-util.c)0
-rw-r--r--src/shared/creds-util.h (renamed from src/basic/creds-util.h)0
-rw-r--r--src/shared/meson.build2
4 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/meson.build b/src/basic/meson.build
index 9b016ce5e8..666537868b 100644
--- a/src/basic/meson.build
+++ b/src/basic/meson.build
@@ -29,8 +29,6 @@ basic_sources = files('''
chattr-util.h
conf-files.c
conf-files.h
- creds-util.c
- creds-util.h
def.h
dirent-util.c
dirent-util.h
diff --git a/src/basic/creds-util.c b/src/shared/creds-util.c
index 58076705e7..58076705e7 100644
--- a/src/basic/creds-util.c
+++ b/src/shared/creds-util.c
diff --git a/src/basic/creds-util.h b/src/shared/creds-util.h
index 7310249424..7310249424 100644
--- a/src/basic/creds-util.h
+++ b/src/shared/creds-util.h
diff --git a/src/shared/meson.build b/src/shared/meson.build
index 7eb7050062..1f741f7417 100644
--- a/src/shared/meson.build
+++ b/src/shared/meson.build
@@ -81,6 +81,8 @@ shared_sources = files('''
coredump-util.h
cpu-set-util.c
cpu-set-util.h
+ creds-util.c
+ creds-util.h
cryptsetup-util.c
cryptsetup-util.h
daemon-util.h