diff options
author | Sam Hartman <hartmans@debian.org> | 2024-12-02 09:55:34 -0700 |
---|---|---|
committer | Sam Hartman <hartmans@debian.org> | 2024-12-02 09:55:34 -0700 |
commit | 4f3cfaf827bfa42a239c255092a128a3a02198bf (patch) | |
tree | eac7f023f043739b79b2a51bd68c3006acb12964 /libpam/pam_get_authtok.c | |
parent | 6408d4b1baff9a7e58fd66e1d1c0871be0823777 (diff) | |
parent | 7c9fb6472dcfae34ddbf4fbc9ecfafae2cf173c3 (diff) | |
download | pam-4f3cfaf827bfa42a239c255092a128a3a02198bf.tar.gz pam-4f3cfaf827bfa42a239c255092a128a3a02198bf.tar.bz2 pam-4f3cfaf827bfa42a239c255092a128a3a02198bf.zip |
Update upstream source from tag 'upstream/1.7.0'
Update to upstream version '1.7.0'
with Debian dir 0b3cd490884352e14273caeca2f05c6a525499fa
Diffstat (limited to 'libpam/pam_get_authtok.c')
-rw-r--r-- | libpam/pam_get_authtok.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libpam/pam_get_authtok.c b/libpam/pam_get_authtok.c index 3f383339..2e7a5996 100644 --- a/libpam/pam_get_authtok.c +++ b/libpam/pam_get_authtok.c @@ -31,9 +31,9 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "config.h" #include "pam_private.h" #include "pam_inline.h" +#include "pam_i18n.h" #include <security/pam_ext.h> @@ -84,6 +84,8 @@ pam_get_authtok_internal (pam_handle_t *pamh, int item, unsigned int flags) { + IF_NO_PAMH(pamh, PAM_SYSTEM_ERR); + char *resp[2] = {NULL, NULL}; const void *prevauthtok; const char *authtok_type = ""; @@ -229,6 +231,8 @@ int pam_get_authtok_verify (pam_handle_t *pamh, const char **authtok, const char *prompt) { + IF_NO_PAMH(pamh, PAM_SYSTEM_ERR); + char *resp = NULL; const char *authtok_type = ""; int retval; |