OpenSSL 3.0.9 : error: 'SSL_CTRL_GET_IANA_GROUPS' undeclared

Marcello Lorenzi cello86 at gmail.com
Wed Jun 7 08:31:44 UTC 2023


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 at openssl.org> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20230607/22fbb37f/attachment-0001.htm>


More information about the openssl-users mailing list