We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09cd7a1 commit 10504ffCopy full SHA for 10504ff
1 file changed
apps/wolfsshd/wolfsshd.c
@@ -1851,7 +1851,10 @@ static void* HandleConnection(void* arg)
1851
graceTime = wolfSSHD_AuthGetGraceTime(conn->auth);
1852
if (graceTime > 0) {
1853
#ifdef WIN32
1854
- /* @TODO SetTimer(NULL, NULL, graceTime, alarmCatch); */
+ /* LoginGraceTime enforcement is not yet implemented on Windows.
1855
+ * @TODO implement via CreateWaitableTimer or similar. */
1856
+ wolfSSH_Log(WS_LOG_WARNING, "[SSHD] LoginGraceTime is set but "
1857
+ "not enforced on this platform");
1858
#else
1859
signal(SIGALRM, alarmCatch);
1860
alarm((unsigned int)graceTime);
0 commit comments