warning on pam_conv struct conversation function.
- (stevesk) [auth-pam.h] license
- (stevesk) [auth-pam.h] unneeded include
+ - (stevesk) [auth-pam.[ch] ssh.h] move SSHD_PAM_SERVICE to auth-pam.h
20020720
- (stevesk) [ssh-keygen.c] bug #231: always init/seed_rng().
#include "includes.h"
#ifdef USE_PAM
-#include "ssh.h"
#include "xmalloc.h"
#include "log.h"
#include "auth.h"
#include "includes.h"
#ifdef USE_PAM
+#if !defined(SSHD_PAM_SERVICE)
+# define SSHD_PAM_SERVICE __progname
+#endif
+
void start_pam(const char *user);
void finish_pam(void);
int auth_pam_password(Authctxt *authctxt, const char *password);
*/
#define SSH_SERVICE_NAME "ssh"
-#if defined(USE_PAM) && !defined(SSHD_PAM_SERVICE)
-# define SSHD_PAM_SERVICE __progname
-#endif
-
/*
* Name of the environment variable containing the process ID of the
* authentication agent.