mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 05:17:28 +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 "auth.h"
|
||||
|
||||
#ifdef ENABLE_SVR_PAM_AUTH
|
||||
|
||||
#if defined(HAVE_SECURITY_PAM_APPL_H)
|
||||
#include <security/pam_appl.h>
|
||||
#elif defined (HAVE_PAM_PAM_APPL_H)
|
||||
#include <pam/pam_appl.h>
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_SVR_PAM_AUTH
|
||||
|
||||
struct UserDataS {
|
||||
char* user;
|
||||
char* passwd;
|
||||
|
Loading…
Reference in New Issue
Block a user