summaryrefslogtreecommitdiff
path: root/proto/rpki/transport.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2020-02-04 10:15:35 +0100
committerMaria Matejka <mq@ucw.cz>2020-02-04 10:15:35 +0100
commit027a3e66f786be8863784aefb043097b41090896 (patch)
tree4049bdb280e338384ace7cedac87e5f4963aa486 /proto/rpki/transport.h
parent4bbc10614f3431c37e6352f5a6ea5c693c31021e (diff)
RPKI: Allow build without libSSH
Diffstat (limited to 'proto/rpki/transport.h')
-rw-r--r--proto/rpki/transport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/rpki/transport.h b/proto/rpki/transport.h
index f90b7e42..bb8d41eb 100644
--- a/proto/rpki/transport.h
+++ b/proto/rpki/transport.h
@@ -51,7 +51,9 @@ const char *rpki_tr_ident(struct rpki_tr_sock *tr);
/* Types of supported transports */
enum rpki_tr_type {
RPKI_TR_TCP, /* Unprotected transport over TCP */
+#if HAVE_LIBSSH
RPKI_TR_SSH, /* Protected transport by SSHv2 connection */
+#endif
};
/* Common configure structure for transports */