diff options
author | Maria Matejka <mq@ucw.cz> | 2020-02-04 10:15:35 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2020-02-04 10:15:35 +0100 |
commit | 027a3e66f786be8863784aefb043097b41090896 (patch) | |
tree | 4049bdb280e338384ace7cedac87e5f4963aa486 /proto/rpki/ssh_transport.c | |
parent | 4bbc10614f3431c37e6352f5a6ea5c693c31021e (diff) |
RPKI: Allow build without libSSH
Diffstat (limited to 'proto/rpki/ssh_transport.c')
-rw-r--r-- | proto/rpki/ssh_transport.c | 4 |
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 |