/
niceSOFT
/
systemd
Обзор
Документация
Войти
/
niceSOFT
/
systemd
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
v261
src/shared/libcrypt-util.h
21 строка
533 B
Daan De Meyer
dlopen: take log_level argument and log in fallback stubs
22 апр 2026, 18:41
22 апр 2026, 18:41
d49f3f2
Код
Авторство
О чём код?
/* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once #include "shared-forward.h" #if HAVE_LIBCRYPT 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 hash_password(const char *password, char **ret) { return -EOPNOTSUPP; } #endif int dlopen_libcrypt(int log_level); bool looks_like_hashed_password(const char *s);