diff options
Diffstat (limited to 'libpam/include/security')
-rw-r--r-- | libpam/include/security/_pam_macros.h | 4 | ||||
-rw-r--r-- | libpam/include/security/pam_ext.h | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/libpam/include/security/_pam_macros.h b/libpam/include/security/_pam_macros.h index bd107cfb..e891e226 100644 --- a/libpam/include/security/_pam_macros.h +++ b/libpam/include/security/_pam_macros.h @@ -62,7 +62,7 @@ do { \ /* some debugging code */ -#ifdef DEBUG +#ifdef PAM_DEBUG /* * This provides the necessary function to do debugging in PAM. @@ -191,6 +191,6 @@ do { \ #define _pam_show_mem(X,XS) do { } while (0) #define _pam_show_reply(reply, replies) do { } while (0) -#endif /* DEBUG */ +#endif /* PAM_DEBUG */ #endif /* PAM_MACROS_H */ diff --git a/libpam/include/security/pam_ext.h b/libpam/include/security/pam_ext.h index 26f7156c..7542861a 100644 --- a/libpam/include/security/pam_ext.h +++ b/libpam/include/security/pam_ext.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005, 2006, 2008 Thorsten Kukuk. + * Copyright (C) 2005, 2006, 2008, 2009 Thorsten Kukuk. * * <security/pam_ext.h> * @@ -77,6 +77,13 @@ pam_prompt (pam_handle_t *pamh, int style, char **response, extern int PAM_NONNULL((1,3)) pam_get_authtok (pam_handle_t *pamh, int item, const char **authtok, const char *prompt); +extern int PAM_NONNULL((1,2)) +pam_get_authtok_noverify (pam_handle_t *pamh, const char **authtok, + const char *prompt); +extern int PAM_NONNULL((1,2)) +pam_get_authtok_verify (pam_handle_t *pamh, const char **authtok, + const char *prompt); + #ifdef __cplusplus } #endif |