diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-10-11 20:35:34 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-10-11 20:35:34 +0200 |
commit | bbf73b00697e77ca35ae60109418da77f257be52 (patch) | |
tree | af8543981be720bb13908578077eb60d7c89e285 /src/shared/cryptsetup-util.h | |
parent | test-journal-flush: Don't fail on EADDRNOTAVAIL (diff) | |
download | systemd-bbf73b00697e77ca35ae60109418da77f257be52.tar.xz systemd-bbf73b00697e77ca35ae60109418da77f257be52.zip |
cryptsetup-util: Always define dlopen_cryptsetup()
Diffstat (limited to 'src/shared/cryptsetup-util.h')
-rw-r--r-- | src/shared/cryptsetup-util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/cryptsetup-util.h b/src/shared/cryptsetup-util.h index b1ce07ec8a..b390dc9a5c 100644 --- a/src/shared/cryptsetup-util.h +++ b/src/shared/cryptsetup-util.h @@ -65,8 +65,6 @@ static inline int crypt_token_max(_unused_ const char *type) { extern crypt_token_info (*sym_crypt_token_status)(struct crypt_device *cd, int token, const char **type); extern int (*sym_crypt_volume_key_get)(struct crypt_device *cd, int keyslot, char *volume_key, size_t *volume_key_size, const char *passphrase, size_t passphrase_size); -int dlopen_cryptsetup(void); - DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(struct crypt_device *, crypt_free, NULL); DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(struct crypt_device *, sym_crypt_free, NULL); @@ -91,6 +89,8 @@ static inline void sym_crypt_freep(struct crypt_device** cd) {} #endif +int dlopen_cryptsetup(void); + int cryptsetup_get_keyslot_from_token(JsonVariant *v); static inline const char *mangle_none(const char *s) { |