mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
LibSSH may be switched off together with RPKI
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user