Hi,
Sorry, but that does not look like the build system that we ship
in Portable OpenSSH.
If you are able to reproduce it using our build system
(./configure && make) then we might be able to help.
Cheers,
Damien
On Wed, 19 Oct 2022, Samiya Khanum wrote:
> Hi?Damien,
>
> Below are the compilation errors that we are seeing while building
> openSSH9.0P1 against openSSL3.0.5?
>
> COMPILING....[openssh] ? : ?vendor/openssh/auth-krb5.c
> In file included from ../../../../vendor/openssh/auth-krb5.c:41:0:
> ../../../../vendor/openssh/sshbuf.h:238:42: error: unknown type name
> ??EC_KEY??
> ?int sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v);
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
> ../../../../vendor/openssh/sshbuf.h:240:48: error: unknown type name
> ??EC_KEY??
> ?int sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v);
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
> In file included from ../../../../vendor/openssh/auth-krb5.c:42:0:
> ../../../../vendor/openssh/sshkey.h:129:2: error: unknown type name ??RSA??
> ? RSA *rsa;
> ? ^
> ../../../../vendor/openssh/sshkey.h:131:2: error: unknown type name ??DSA??
> ? DSA *dsa;
> ? ^
> ../../../../vendor/openssh/sshkey.h:134:2: error: unknown type name
> ??EC_KEY??
> ? EC_KEY *ecdsa;
> ? ^
> ../../../../vendor/openssh/sshkey.h:226:31: error: unknown type name
> ??EC_KEY??
> ?int ? sshkey_ecdsa_key_to_nid(EC_KEY *);
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
> ../../../../vendor/openssh/sshkey.h:229:40: error: unknown type name
> ??EC_KEY??
> ?int ? sshkey_ec_validate_private(const EC_KEY *);
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
> ../../../../vendor/openssh/sshkey.h:257:31: error: unknown type name
> ??EC_KEY??
> ?void sshkey_dump_ec_key(const EC_KEY *);
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
> make[2]: *** [auth-krb5.o] Error 1
> make[1]: *** [openssh] Error 2
> make: *** [openssh] Error 2
>
> Thanks & Regards,
> Samiya khanum
>
>
> On Wed, Oct 19, 2022 at 5:38 AM Damien Miller <djm at mindrot.org>
wrote:
> On Tue, 18 Oct 2022, Samiya Khanum wrote:
>
> > Hi,
> >
> > After upgrading openssl to 3.0.5, I am getting compilation
> errors in the
> > openssh code.
> >
> > Does Openssh 9.0P1 or any other later versions support
> building against
> > openssl3.0 or later versions? Can anyone please confirm ?
>
> OpenSSH does support OpenSSL 3.x. It would be helpful if you
> included
> an example of the compilation errors.
>
> -d
>
>
> This electronic communication and the information and any files transmitted
> with it, or attached to it, are confidential and are intended solely for
the
> use of the individual or entity to whom it is addressed and may contain
> information that is confidential, legally privileged, protected by privacy
> laws, or otherwise restricted from disclosure to anyone else. If you are
not
> the intended recipient or the person responsible for delivering the e-mail
> to the intended recipient, you are hereby notified that any use, copying,
> distributing, dissemination, forwarding, printing, or copying of this
e-mail
> is strictly prohibited. If you received this e-mail in error, please return
> the e-mail to the sender, delete it from your computer, and destroy any
> printed copy of it.
>