1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-29 13:01:13 +03:00

Allow building benchmarks without SFTP

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
This commit is contained in:
Jakub Jelen
2023-03-27 09:41:54 +02:00
parent cd54390188
commit e5a6dc6757
2 changed files with 9 additions and 1 deletions

View File

@ -48,6 +48,7 @@ struct benchmark benchmarks[]= {
.fct=benchmarks_scp_down,
.enabled=0
},
#ifdef WITH_SFTP
{
.name="benchmark_sync_sftp_upload",
.fct=benchmarks_sync_sftp_up,
@ -63,6 +64,7 @@ struct benchmark benchmarks[]= {
.fct=benchmarks_async_sftp_down,
.enabled=0
}
#endif /* WITH_SFTP */
};
#ifdef HAVE_ARGP_H