Skip to content

Commit f24d9f6

Browse files
committed
Skip host-key checking for now
1 parent 5684f80 commit f24d9f6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/clone.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
#endif
44

55
/* Beginning in libgit2 v1.4.5 and v1.5.1, libgit2 will now perform host key checking by default.
6-
* However on Windows libssh does not have access to the cert store */
7-
#if defined(_WIN32)
6+
* However we do not want scripts to halt upon the first clone to a host... */
7+
//#if defined(_WIN32)
88
#define SKIP_HOSTKEY_CHECK
9-
#endif
9+
//#endif
1010

1111
#include <string.h>
1212
#include "utils.h"

0 commit comments

Comments
 (0)