RPKI support without SSH transport
Ondrej Zajicek
santiago at crfreenet.org
Wed Mar 25 13:37:34 CET 2020
On Wed, Mar 25, 2020 at 02:17:13PM +0300, Mikhail Grishin wrote:
> Hi,
>
> In my case all compiled fine:
>
> ./configure --disable-libssh
Yes, current code in git should be OK, all code in ssh_transport.c is
commented out.
> CC -o obj/proto/rpki/ssh_transport.o -c proto/rpki/ssh_transport.c
> CC -o obj/proto/rpki/transport.o -c proto/rpki/transport.c
> CC -o obj/proto/static/static.o -c proto/static/static.c
>
> > No, unfortunately it does not - not any more, at least:
> >
> > Configured with
> >
> > ./configure --disable-libssh
> >
> > it doesn't compile /proto/rpki/ssh_transport.c /because it references
> > "struct ssh_sock" and "SK_SSH_CONNECT", whose definitions are excluded
> > in lib/socket.h unless HAVE_LIBSSH is defined →
> >
> > CC -o obj/proto/rpki/ssh_transport.o -c proto/rpki/ssh_transport.c
> > proto/rpki/ssh_transport.c: In function 'rpki_tr_ssh_open':
> > proto/rpki/ssh_transport.c:29:40: error: invalid application of
> > 'sizeof' to incomplete type 'struct ssh_sock'
> > sk->ssh = mb_allocz(sk->pool, sizeof(struct ssh_sock));
> > ^~~~~~
> > proto/rpki/ssh_transport.c:30:10: error: dereferencing pointer to
> > incomplete type 'struct ssh_sock'
> > sk->ssh->username = ssh_cf->user;
> > ^~
> > proto/rpki/ssh_transport.c:34:20: error: 'SK_SSH_CONNECT'
> > undeclared (first use in this function)
> > sk->ssh->state = SK_SSH_CONNECT;
> > ^~~~~~~~~~~~~~
> >
> >
> > Again: Thanks for your great support!
> >
> > Clemens
> >
> >
>
--
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
More information about the Bird-users
mailing list