[Bug 3192] openssh-8.2 & openssl-1.1.1d error: dereferencing pointer to incomplete type Not found struct BIO , bio->num_write
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Tue Jul 14 19:04:26 AEST 2020
https://bugzilla.mindrot.org/show_bug.cgi?id=3192
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at dtucker.net
--- Comment #3 from Darren Tucker <dtucker at dtucker.net> ---
What platform, compiler is this, and in particular what configure
options and CFLAGS did you give? I see at least one non-standard
compiler flag.
A quick test with openssh-8.2p1 and openssl-1.1.1d here compiles OK:
$ CFLAGS="-g -O0 -D_FORTIFY_SOURCE=2 -DDEBUG_KEXECDH" ./configure
--with-ssl-dir=/opt/openssl/1.1.1d && make clean && make
[...]
$ ./ssh -V
OpenSSH_8.2p1, OpenSSL 1.1.1d 10 Sep 2019
$ ./configure --with-ssl-dir=/opt/openssl/1.1.1d
--with-cflags=-DDEBUG_KEXECDH && make clean && make
[...]
$./ssh -V
OpenSSH_8.2p1, OpenSSL 1.1.1d 10 Sep 2019
(I also renamed my system openssl include dir, which didn't make a
difference). Is it possible it's picking up includes from a different
version of OpenSSL somewhere in the search path?
> sshkey.c: In function ‘sshkey_parse_private_pem_fileblob’:
> sshkey.c:4625:27: error: dereferencing pointer to incomplete type
> BIO_read(bio, keybuf, bio->num_write);
wait, OpenSSH 8.2p1 doesn't even contain that line of code.
$ curl -s
https://raw.githubusercontent.com/openssh/openssh-portable/V_8_2/sshkey.c
| grep num_write
$
what modifications have you made to the code?
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list