mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
remove static keyword from auth_debug declaration
This commit is contained in:
parent
6d4b212261
commit
6c60b64f04
9
auth.c
9
auth.c
@ -92,7 +92,14 @@ extern struct passwd *privsep_pw;
|
||||
extern struct sshauthopt *auth_opts;
|
||||
|
||||
/* Debugging messages */
|
||||
static struct sshbuf *auth_debug;
|
||||
#ifdef WINDOWS
|
||||
/* removing static declaration due to access
|
||||
violation thrown when compiling with platform
|
||||
toolsets newer than v140 (VS2017 or above) */
|
||||
struct sshbuf *auth_debug;
|
||||
#else
|
||||
static struct sshbuf *auth_debug;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Check if the user is allowed to log in via ssh. If user is listed
|
||||
|
Loading…
x
Reference in New Issue
Block a user