mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 13:21:15 +00:00
Make sure the #includes for pam only get hit if PAM is enabled.
--HG-- extra : convert_revision : f9c35e0ebbcb2d5821d871db343ec2041cdb6ef3
This commit is contained in:
parent
4941c43429
commit
41fd735d4b
@ -31,14 +31,14 @@
|
|||||||
#include "dbutil.h"
|
#include "dbutil.h"
|
||||||
#include "auth.h"
|
#include "auth.h"
|
||||||
|
|
||||||
|
#ifdef ENABLE_SVR_PAM_AUTH
|
||||||
|
|
||||||
#if defined(HAVE_SECURITY_PAM_APPL_H)
|
#if defined(HAVE_SECURITY_PAM_APPL_H)
|
||||||
#include <security/pam_appl.h>
|
#include <security/pam_appl.h>
|
||||||
#elif defined (HAVE_PAM_PAM_APPL_H)
|
#elif defined (HAVE_PAM_PAM_APPL_H)
|
||||||
#include <pam/pam_appl.h>
|
#include <pam/pam_appl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_SVR_PAM_AUTH
|
|
||||||
|
|
||||||
struct UserDataS {
|
struct UserDataS {
|
||||||
char* user;
|
char* user;
|
||||||
char* passwd;
|
char* passwd;
|
||||||
|
Loading…
Reference in New Issue
Block a user