<div dir="ltr">Hi Tomas<div>I downloaded the tarball version from <a href="https://www.openssl.org/source/openssl-3.0.9.tar.gz">https://www.openssl.org/source/openssl-3.0.9.tar.gz</a> and I executed this commands</div><div><br></div><div># wget - /tmp/ 

<a href="https://www.openssl.org/source/openssl-3.0.9.tar.gz">https://www.openssl.org/source/openssl-3.0.9.tar.gz</a>    </div><div># tar xfz /tmp/openssl-3.0.9.tar.gz -C /tmp/ </div><div># cd /tmp/openssl-3.0.9 <br># ./config <br>--prefix=/usr/local/openssl-3.0.9 \<br>--openssldir=/usr/local/openssl-3.0.9 \<br>shared <br># make -j2 <br></div><div># make install</div><div><br></div><div>Thanks,</div><div>Marcello</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 7, 2023 at 9:22 AM Tomas Mraz <<a href="mailto:tomas@openssl.org">tomas@openssl.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Marcello,<br>
<br>
which OpenSSL are you actually trying to build? There is no such code<br>
in ssl/s3_lib.c in the pristine sources of the OpenSSL 3.0.9 release.<br>
<br>
Is this something patched by Red Hat, or is it actually source of the<br>
master branch?<br>
<br>
Tomas Mraz, OpenSSL<br>
<br>
On Tue, 2023-06-06 at 19:54 +0200, Marcello Lorenzi wrote:<br>
> Hi All,<br>
> I tried to compile OpenSSL 3.0.9 on a RHEL 9.2 server but I noticed<br>
> this compilation error:<br>
> <br>
> ssl/s3_lib.c: In function 'ssl3_ctx_ctrl':<br>
> ssl/s3_lib.c:3905:10: error: 'SSL_CTRL_GET_IANA_GROUPS' undeclared<br>
> (first use in this function); did you mean 'SSL_CTRL_GET_GROUPS'?<br>
>  3905 |     case SSL_CTRL_GET_IANA_GROUPS:<br>
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~<br>
>       |          SSL_CTRL_GET_GROUPS<br>
> ssl/s3_lib.c:3905:10: note: each undeclared identifier is reported<br>
> only once for each function it appears in<br>
> ssl/s3_lib.c:3908:50: error: 's' undeclared (first use in this<br>
> function)<br>
>  3908 |                 *(uint16_t **)parg = (uint16_t *)s-<br>
> >ext.peer_supportedgroups;<br>
>       |                                                  ^<br>
> make[3]: *** [Makefile:10662: ssl/libssl-lib-s3_lib.o] Error 1<br>
> make[3]: *** Waiting for unfinished jobs....<br>
> make[3]: Leaving directory '/tmp/openssl-3.0.5'<br>
> make[2]: *** [Makefile:2542: build_sw] Error 2<br>
> make[2]: Leaving directory '/tmp/openssl-3.0.5'<br>
> make[1]: *** [objs/Makefile:1805: /tmp/openssl-<br>
> 3.0.5/.openssl/include/openssl/ssl.h] Error 2<br>
> make[1]: Leaving directory '/tmp/nginx-1.25.0'<br>
> make: *** [Makefile:10: build] Error 2<br>
> <br>
> Could you help me to undertand the root cause of this error?<br>
> <br>
> Thanks,<br>
> Marcello<br>
<br>
-- <br>
Tomáš Mráz, OpenSSL<br>
<br>
</blockquote></div>