Re: OpenSSL 3.0.9 : error: 'SSL_CTRL_GET_IANA_GROUPS' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tomas
I downloaded the tarball version from https://www.openssl.org/source/openssl-3.0.9.tar.gz and I executed this commands

# wget - /tmp/  https://www.openssl.org/source/openssl-3.0.9.tar.gz    
# tar xfz /tmp/openssl-3.0.9.tar.gz -C /tmp/ 
# cd /tmp/openssl-3.0.9 
# ./config 
--prefix=/usr/local/openssl-3.0.9 \
--openssldir=/usr/local/openssl-3.0.9 \
shared 
# make -j2 
# make install

Thanks,
Marcello

On Wed, Jun 7, 2023 at 9:22 AM Tomas Mraz <tomas@xxxxxxxxxxx> wrote:
Hi Marcello,

which OpenSSL are you actually trying to build? There is no such code
in ssl/s3_lib.c in the pristine sources of the OpenSSL 3.0.9 release.

Is this something patched by Red Hat, or is it actually source of the
master branch?

Tomas Mraz, OpenSSL

On Tue, 2023-06-06 at 19:54 +0200, Marcello Lorenzi wrote:
> Hi All,
> I tried to compile OpenSSL 3.0.9 on a RHEL 9.2 server but I noticed
> this compilation error:
>
> ssl/s3_lib.c: In function 'ssl3_ctx_ctrl':
> ssl/s3_lib.c:3905:10: error: 'SSL_CTRL_GET_IANA_GROUPS' undeclared
> (first use in this function); did you mean 'SSL_CTRL_GET_GROUPS'?
>  3905 |     case SSL_CTRL_GET_IANA_GROUPS:
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~
>       |          SSL_CTRL_GET_GROUPS
> ssl/s3_lib.c:3905:10: note: each undeclared identifier is reported
> only once for each function it appears in
> ssl/s3_lib.c:3908:50: error: 's' undeclared (first use in this
> function)
>  3908 |                 *(uint16_t **)parg = (uint16_t *)s-
> >ext.peer_supportedgroups;
>       |                                                  ^
> make[3]: *** [Makefile:10662: ssl/libssl-lib-s3_lib.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory '/tmp/openssl-3.0.5'
> make[2]: *** [Makefile:2542: build_sw] Error 2
> make[2]: Leaving directory '/tmp/openssl-3.0.5'
> make[1]: *** [objs/Makefile:1805: /tmp/openssl-
> 3.0.5/.openssl/include/openssl/ssl.h] Error 2
> make[1]: Leaving directory '/tmp/nginx-1.25.0'
> make: *** [Makefile:10: build] Error 2
>
> Could you help me to undertand the root cause of this error?
>
> Thanks,
> Marcello

--
Tomáš Mráz, OpenSSL


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux