diff options
author | Egor Ignatov <egori@altlinux.org> | 2021-08-06 10:40:34 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-07-06 12:59:41 +0200 |
commit | d34b1823cace2b85436fc0ee79c0569d2f085f72 (patch) | |
tree | aafd1b108ca036801b24cf8e113cf6c45eaf150d /src/home/user-record-password-quality.h | |
parent | homed: change user_record_quality_check_password to use quality_check_password (diff) | |
download | systemd-d34b1823cace2b85436fc0ee79c0569d2f085f72.tar.xz systemd-d34b1823cace2b85436fc0ee79c0569d2f085f72.zip |
shared: add password quality check abstraction layer to support both pwquality and passwdqc
Co-authored-by: Dmitry V. Levin <ldv@altlinux.org>
Diffstat (limited to 'src/home/user-record-password-quality.h')
-rw-r--r-- | src/home/user-record-password-quality.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/home/user-record-password-quality.h b/src/home/user-record-password-quality.h new file mode 100644 index 0000000000..c7d6ec6046 --- /dev/null +++ b/src/home/user-record-password-quality.h @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ +#pragma once + +#include "sd-bus.h" +#include "user-record.h" + +int user_record_check_password_quality(UserRecord *hr, UserRecord *secret, sd_bus_error *error); |