remove static keyword from auth_debug declaration

This commit is contained in:
Tess Gauthier 2023-05-09 15:47:06 -04:00
parent 6d4b212261
commit 6c60b64f04

9
auth.c
View File

@ -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