summaryrefslogtreecommitdiff
path: root/proto/rpki/ssh_transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/rpki/ssh_transport.c')
-rw-r--r--proto/rpki/ssh_transport.c4
1 files changed, 4 insertions, 0 deletions
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