summaryrefslogtreecommitdiff
path: root/proto/rpki/ssh_transport.c
diff options
context:
space:
mode:
authorJan Moskyto Matejka <mq@ucw.cz>2016-12-07 14:15:35 +0100
committerJan Moskyto Matejka <mq@ucw.cz>2016-12-07 14:15:35 +0100
commitaf62c0f9f1f6382fe88c8ae5e514f70c0b5b6d05 (patch)
tree49c82267598c92cc758203f8ed06d822c6c2deb2 /proto/rpki/ssh_transport.c
parentcdbe1defa4b783715ed29d8d253a55d3efe0b9ed (diff)
LibSSH may be switched off together with RPKI
Diffstat (limited to 'proto/rpki/ssh_transport.c')
-rw-r--r--proto/rpki/ssh_transport.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/proto/rpki/ssh_transport.c b/proto/rpki/ssh_transport.c
index 8fc32626..cd49ab90 100644
--- a/proto/rpki/ssh_transport.c
+++ b/proto/rpki/ssh_transport.c
@@ -16,7 +16,6 @@
#include <sys/time.h>
#include "rpki.h"
-#include "lib/libssh.h"
static int
rpki_tr_ssh_open(struct rpki_tr_sock *tr)
@@ -26,13 +25,6 @@ rpki_tr_ssh_open(struct rpki_tr_sock *tr)
struct rpki_tr_ssh_config *ssh_cf = (void *) cf->tr_config.spec;
sock *sk = tr->sk;
- const char *err_msg;
- if ((err_msg = load_libssh()) != NULL)
- {
- CACHE_TRACE(D_EVENTS, cache, "%s", err_msg);
- return RPKI_TR_ERROR;
- }
-
sk->type = SK_SSH_ACTIVE;
sk->ssh = mb_allocz(sk->pool, sizeof(struct ssh_sock));
sk->ssh->username = ssh_cf->user;