Introduce crypt_string_in internal helper.

And replace custom name_in_list function with new helper.
This commit is contained in:
Ondrej Kozina
2019-06-20 10:54:48 +02:00
committed by Milan Broz
parent 4e19719bdd
commit 011ee5b180
3 changed files with 14 additions and 11 deletions

View File

@@ -250,4 +250,6 @@ int kernel_version(uint64_t *kversion);
int crypt_serialize_lock(struct crypt_device *cd);
void crypt_serialize_unlock(struct crypt_device *cd);
bool crypt_string_in(const char *str, char **list, size_t list_size);
#endif /* INTERNAL_H */