update ssh-add where imaginary i GNU syntax is used

This commit is contained in:
Tess Gauthier 2023-12-19 20:46:01 -05:00
parent aeb3bbe81d
commit e98172c2eb
1 changed files with 5 additions and 0 deletions

View File

@ -825,7 +825,12 @@ main(int argc, char **argv)
LogLevel log_level = SYSLOG_LEVEL_INFO;
struct sshkey *k, **certs = NULL;
struct dest_constraint **dest_constraints = NULL;
#ifdef WINDOWS
// when ndest_contraints is implemented, will have to use complex I
size_t ndest_constraints = 0, ncerts = 0;
#else
size_t ndest_constraints = 0i, ncerts = 0;
#endif /* WINDOWS */
/* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */
sanitise_stdfd();