/
niceSOFT
/
systemd
Обзор
Документация
Войти
/
niceSOFT
/
systemd
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
v260
src/shared/libcrypt-util.h
23 строки
595 B
Yu Watanabe
libcrypt-util: turn into dlopen() dependency
02 янв 2026, 07:06
02 янв 2026, 07:06
d0b224f
Код
Авторство
О чём код?
/* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once #include "shared-forward.h" #if HAVE_LIBCRYPT int dlopen_libcrypt(void); int make_salt(char **ret); int hash_password(const char *password, char **ret); int test_password_one(const char *hashed_password, const char *password); int test_password_many(char **hashed_password, const char *password); #else static inline int dlopen_libcrypt(void) { return -EOPNOTSUPP; } static inline int hash_password(const char *password, char **ret) { return -EOPNOTSUPP; } #endif bool looks_like_hashed_password(const char *s);