Skip to content

Commit 4833dda

Browse files
authored
fix ssh-pkcs11-client.c missing ifdef (#597)
1 parent 89cec98 commit 4833dda

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

monitor.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
#include "canohost.h"
8484
#include "log.h"
8585
#include "misc.h"
86+
#include "msg.h"
8687
#include "servconf.h"
8788
#include "monitor.h"
8889
#ifdef GSSAPI

ssh-pkcs11-client.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,10 +509,12 @@ pkcs11_start_helper(void)
509509
#endif
510510
/* success */
511511
debug3_f("started pid=%ld", (long)pid);
512+
#ifdef WINDOWS
512513
out:
513514
if (client_token)
514515
CloseHandle(client_token);
515516
return r;
517+
#endif
516518
}
517519

518520
int

0 commit comments

Comments
 (0)