summaryrefslogtreecommitdiff
path: root/libpam/include/security
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 19:03:53 -0800
committerSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 19:03:53 -0800
commitaa0448336a79d85579464f023ac87675be60abfc (patch)
tree6a460a8e09fca6fc470649aa0fe129f87d0ecb01 /libpam/include/security
parent212b52cf29c06cc209bc8ac0540dbab1acdf1464 (diff)
parent2c201a306eb3945da808df4daf8c57895197a225 (diff)
New upstream version 1.1.1
Diffstat (limited to 'libpam/include/security')
-rw-r--r--libpam/include/security/_pam_macros.h4
-rw-r--r--libpam/include/security/pam_ext.h9
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