diff --git a/test/src/harness/host.c b/test/src/harness/host.c index faa84d508..d82554a0d 100644 --- a/test/src/harness/host.c +++ b/test/src/harness/host.c @@ -797,6 +797,8 @@ hrnHostConfig(HrnHost *const this) break; } +#ifdef HAVE_LIBSSH2 + case STORAGE_SFTP_TYPE: { const String *const keyPrivate = strNewFmt("%s/" HRN_HOST_SFTP_KEY_PRIVATE, hrnPathRepo()); @@ -824,6 +826,8 @@ hrnHostConfig(HrnHost *const this) break; } +#endif // HAVE_LIBSSH2 + default: { ASSERT(hrnHostLocal.storage == STORAGE_POSIX_TYPE);