<div dir="auto">Awesome, thanks! </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">בתאריך יום ב׳, 18 ביולי 2022, 11:03, מאת Francesco Chemolli ‏<<a href="mailto:gkinkie@gmail.com">gkinkie@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">OpenSSL 3.0 support has landed in trunk yesterday. Hopefully there will be a point release with it any day now</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 18, 2022 at 9:52 AM <<a href="mailto:ngtech1ltd@gmail.com" target="_blank" rel="noreferrer">ngtech1ltd@gmail.com</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"><div lang="en-IL"><div><p class="MsoNormal"><span lang="EN-US">Hey Everybody,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I have just started my build tests on Ubuntu <span>22.04 <span> </span>and</span> I got some errors, something with OpenSSL 3.0.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">I have seen that there has been a patch for 5.5 in Debian at:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005650" target="_blank" rel="noreferrer">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005650</a><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">but I have not <span>see</span> such a fix from the squid project.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Is there any usable patch I can try to apply to build and fix it?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">The build errors:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">### START<u></u><u></u></span></p><p class="MsoNormal"><span><span lang="EN-US">ibtool</span></span><span lang="EN-US">: compile:<span>  </span>g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/<span>etc</span>/squid/<span>squid.conf</span>\" -DDEFAULT_SQUID_DATA_DIR=\"/<span>usr</span>/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/<span>etc</span>/squid\" -I/home/builder/squid-5.6 -I/home/builder/squid-5.6/include -I/home/builder/squid-5.6/lib -I/home/builder/squid-5.6/<span>src</span> -I../../include -<span>isystem</span> /<span>usr</span>/include/mit-krb5 -I/<span>usr</span>/include/libxml2 -Wall -<span>Wpointer-arith</span> -<span>Wwrite</span>-strings -<span>Wcomments</span> -<span>Wshadow</span> -<span>Woverloaded</span>-virtual -<span>Werror</span> -pipe -D_REENTRANT -I/<span>usr</span>/include/libxml2 -m64 -I/<span>usr</span>/include/p11-kit-1 -g -O2 -MT <span>old_api.lo</span> -MD -MP -MF .deps/<span>old_api.Tpo</span> -c /home/builder/squid-5.6/src/mem/old_api.cc<span>  </span>-<span>fPIC</span> -DPIC -o .libs/<span>old_api.o</span><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">In file included from /home/builder/squid-5.6/<span>src</span>/security/Session.h:14,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/security/forward.h:15,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/SquidConfig.h:26,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/mem/old_api.cc:24:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">/home/builder/squid-5.6/<span>src</span>/security/<span>forward.h</span>: In function 'void Security::<span>DH_free_cpp</span>(DH*)':<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">/home/builder/squid-5.6/<span>src</span>/security/LockingPointer.h:34:21: error: 'void <span>DH_free</span>(DH*)' is deprecated: Since OpenSSL 3.0 [-<span>Werror</span>=deprecated-declarations]<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>   </span>34 |<span>             </span>function(a); \<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">/home/builder/squid-5.6/<span>src</span>/security/forward.h:96:1: note: in expansion of macro 'CtoCpp1'<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>   </span>96 | CtoCpp1(<span>DH_free</span>, DH *);<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>      </span>| ^~~~~~~<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">In file included from /home/builder/squid-5.6/<span>compat</span>/openssl.h:35,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/security/Context.h:15,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/security/forward.h:14,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/SquidConfig.h:26,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/mem/old_api.cc:24:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">/<span>usr</span>/include/<span>openssl</span>/dh.h:200:28: note: declared here<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>  </span>200 | OSSL_DEPRECATEDIN_3_0 void <span>DH_free</span>(DH *dh);<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>      </span>|<span>                            </span>^~~~~~~<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">In file included from /home/builder/squid-5.6/<span>src</span>/SquidConfig.h:26,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>      </span><span>           </span>from /home/builder/squid-5.6/<span>src</span>/mem/old_api.cc:24:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">/home/builder/squid-5.6/<span>src</span>/security/<span>forward.h</span>: At global scope:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">/home/builder/squid-5.6/<span>src</span>/security/forward.h:97:70: error: 'int <span>DH_up_ref</span>(DH*)' is deprecated: Since OpenSSL 3.0 [-<span>Werror</span>=deprecated-declarations]<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>   </span>97 | typedef Security::<span>LockingPointer</span><DH, <span>DH_free_cpp</span>, <span>HardFun</span><int, DH *, <span>DH_up_ref</span>> > <span>DhePointer</span>;<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>      </span>|<span>                                                                      </span>^~~~~~~~~<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">In file included from /home/builder/squid-5.6/<span>compat</span>/openssl.h:35,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/security/Context.h:15,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/security/forward.h:14,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/SquidConfig.h:26,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/mem/old_api.cc:24:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">/<span>usr</span>/include/<span>openssl</span>/dh.h:201:27: note: declared here<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>  </span>201 | OSSL_DEPRECATEDIN_3_0 int <span>DH_up_ref</span>(DH *dh);<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>      </span>|<span>                           </span>^~~~~~~~~<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">In file included from /home/builder/squid-5.6/<span>src</span>/SquidConfig.h:26,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/mem/old_api.cc:24:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">/home/builder/squid-5.6/<span>src</span>/security/forward.h:97:79: error: 'int <span>DH_up_ref</span>(DH*)' is deprecated: Since OpenSSL 3.0 [-<span>Werror</span>=deprecated-declarations]<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>   </span>97 | typedef Security::<span>LockingPointer</span><DH, <span>DH_free_cpp</span>, <span>HardFun</span><int, DH *, <span>DH_up_ref</span>> > <span>DhePointer</span>;<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>      </span>|<span>                                                                               </span>^<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">In file included from /home/builder/squid-5.6/<span>compat</span>/openssl.h:35,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/security/Context.h:15,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/security/forward.h:14,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/SquidConfig.h:26,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>           </span><span>      </span>from /home/builder/squid-5.6/<span>src</span>/mem/old_api.cc:24:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">/<span>usr</span>/include/<span>openssl</span>/dh.h:201:27: note: declared here<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>  </span>201 | OSSL_DEPRECATEDIN_3_0 int <span>DH_up_ref</span>(DH *dh);<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>      </span>|<span>                           </span>^~~~~~~~~<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">In file included from /home/builder/squid-5.6/<span>src</span>/<span>ssl</span>/support.h:21,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/SquidConfig.h:29,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/mem/old_api.cc:24:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">/home/builder/squid-5.6/<span>src</span>/<span>ssl</span>/gadgets.h:61:51: error: 'void <span>RSA_free</span>(RSA*)' is deprecated: Since OpenSSL 3.0 [-<span>Werror</span>=deprecated-declarations]<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>   </span>61 | typedef std::<span>unique_ptr</span><RSA, <span>HardFun</span><void, RSA*, &<span>RSA_free</span>>> <span>RSA_Pointer</span>;<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>      </span>|<span>                                                   </span>^~~~~~~~<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">In file included from /<span>usr</span>/include/<span>openssl</span>/x509.h:36,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>      </span><span>           </span>from /<span>usr</span>/include/<span>openssl</span>/ssl.h:31,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>compat</span>/openssl.h:44,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/security/Context.h:15,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/security/forward.h:14,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/SquidConfig.h:26,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/mem/old_api.cc:24:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">/<span>usr</span>/include/<span>openssl</span>/rsa.h:293:28: note: declared here<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>  </span>293 | OSSL_DEPRECATEDIN_3_0 void <span>RSA_free</span>(RSA *r);<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>      </span>|<span>                            </span>^~~~~~~~<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">In file included from /home/builder/squid-5.6/<span>src</span>/<span>ssl</span>/support.h:21,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/SquidConfig.h:29,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/mem/old_api.cc:24:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">/home/builder/squid-5.6/<span>src</span>/<span>ssl</span>/gadgets.h:61:51: error: 'void <span>RSA_free</span>(RSA*)' is deprecated: Since OpenSSL 3.0 [-<span>Werror</span>=deprecated-declarations]<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>   </span>61 | typedef std::<span>unique_ptr</span><RSA, <span>HardFun</span><void, RSA*, &<span>RSA_free</span>>> <span>RSA_Pointer</span>;<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>      </span>|<span>                                                   </span>^~~~~~~~<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">In file included from /<span>usr</span>/include/<span>openssl</span>/x509.h:36,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /<span>usr</span>/include/<span>openssl</span>/ssl.h:31,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>compat</span>/openssl.h:44,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/security/Context.h:15,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/security/forward.h:14,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/SquidConfig.h:26,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>                 </span>from /home/builder/squid-5.6/<span>src</span>/mem/old_api.cc:24:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">/<span>usr</span>/include/<span>openssl</span>/rsa.h:293:28: note: declared here<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>  </span>293 | OSSL_DEPRECATEDIN_3_0 void <span>RSA_free</span>(RSA *r);<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><span>      </span>|<span>                            </span>^~~~~~~~<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">cc1plus: all warnings being treated as errors<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">make[3]: *** [Makefile:842: <span>old_api.lo</span>] Error 1<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">make[3]: Leaving directory '/home/builder/<span>confdir</span>/<span>src</span>/mem'<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">make[2]: *** [Makefile:6868: all-recursive] Error 1<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">make[2]: Leaving directory '/home/builder/<span>confdir</span>/<span>src</span>'<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">make[1]: *** [Makefile:5857: all] Error 2<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">make[1]: Leaving directory '/home/builder/<span>confdir</span>/<span>src</span>'<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">make: *** [Makefile:594: all-recursive] Error 1<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">make: *** [Makefile:171: build] Error 2<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">### END<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Thanks,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Eliezer<u></u><u></u></span></p><p class="MsoNormal"><span lang="en-IL"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">----<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Eliezer Croitoru<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">NgTech, Tech Support<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Mobile: +972-5-28704261<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Email: <a href="mailto:ngtech1ltd@gmail.com" target="_blank" rel="noreferrer"><span style="color:blue">ngtech1ltd@gmail.com</span></a><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Web: <a href="https://ngtech.co.il/" target="_blank" rel="noreferrer"><span style="color:blue">https://ngtech.co.il/</span></a><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">My-Tube: <a href="https://tube.ngtech.co.il/" target="_blank" rel="noreferrer"><span style="color:blue">https://tube.ngtech.co.il/</span></a><u></u><u></u></span></p><p class="MsoNormal"><span lang="en-IL"><u></u> <u></u></span></p></div></div>_______________________________________________<br>
squid-dev mailing list<br>
<a href="mailto:squid-dev@lists.squid-cache.org" target="_blank" rel="noreferrer">squid-dev@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-dev" rel="noreferrer noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">    Francesco</div>
</blockquote></div>