summaryrefslogtreecommitdiff
path: root/auth-pam.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-pam.c')
-rw-r--r--auth-pam.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/auth-pam.c b/auth-pam.c
index 6ce9db12b..a67eaa309 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -71,6 +71,13 @@
71# define sshpam_const const /* LinuxPAM, OpenPAM */ 71# define sshpam_const const /* LinuxPAM, OpenPAM */
72#endif 72#endif
73 73
74/* Ambiguity in spec: is it an array of pointers or a pointer to an array? */
75#ifdef PAM_SUN_CODEBASE
76# define PAM_MSG_MEMBER(msg, n, member) ((*(msg))[(n)].member)
77#else
78# define PAM_MSG_MEMBER(msg, n, member) ((msg)[(n)]->member)
79#endif
80
74#include "auth.h" 81#include "auth.h"
75#include "auth-pam.h" 82#include "auth-pam.h"
76#include "buffer.h" 83#include "buffer.h"