From 027a3e66f786be8863784aefb043097b41090896 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Tue, 4 Feb 2020 10:15:35 +0100 Subject: RPKI: Allow build without libSSH --- proto/rpki/ssh_transport.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'proto/rpki/ssh_transport.c') diff --git a/proto/rpki/ssh_transport.c b/proto/rpki/ssh_transport.c index 13e061fc..469eb199 100644 --- a/proto/rpki/ssh_transport.c +++ b/proto/rpki/ssh_transport.c @@ -17,6 +17,8 @@ #include "rpki.h" +#if HAVE_LIBSSH + static int rpki_tr_ssh_open(struct rpki_tr_sock *tr) { @@ -71,3 +73,5 @@ rpki_tr_ssh_init(struct rpki_tr_sock *tr) tr->open_fp = &rpki_tr_ssh_open; tr->ident_fp = &rpki_tr_ssh_ident; } + +#endif -- cgit v1.2.3