]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
util: move src/basic/creds-util.[ch] → src/shared/
authorLennart Poettering <lennart@poettering.net>
Mon, 21 Jun 2021 15:58:58 +0000 (17:58 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 8 Jul 2021 07:30:18 +0000 (09:30 +0200)
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.

src/basic/meson.build
src/shared/creds-util.c [moved from src/basic/creds-util.c with 100% similarity]
src/shared/creds-util.h [moved from src/basic/creds-util.h with 100% similarity]
src/shared/meson.build

index 9b016ce5e864b76ef3cee4f7f0d8cbeff2421163..666537868bdd193a3099b8bbcb6ade8bf28634a3 100644 (file)
@@ -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
index 7eb7050062c56d8aad067f1833018edaaea64a29..1f741f7417e4978e3a948872aa4fbe9cc1222063 100644 (file)
@@ -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