<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:22:13 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-15896] gss/sk_utils.c error: &apos;DH_check&apos; is deprecated: Since OpenSSL 3.0</title>
                <link>https://jira.whamcloud.com/browse/LU-15896</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;While building gss/sk_utils.c with OpenSSL 3.0.x and gcc 11 on Ubuntu 22.04, it failed with the following errors:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;gss/sk_utils.c: In function &apos;sk_is_dh_valid&apos;:
gss/sk_utils.c:714:17: error: &apos;DH_check&apos; is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  714 |                 rc = DH_check(dh, &amp;amp;codes);
      |                 ^~
In file included from gss/sk_utils.c:36:
/usr/include/openssl/dh.h:220:27: note: declared here
  220 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes);
      |                           ^~~~~~~~
gss/sk_utils.c:723:9: error: &apos;DH_get0_pqg&apos; is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  723 |         DH_get0_pqg(dh, &amp;amp;p, NULL, &amp;amp;g);
      |         ^~~~~~~~~~~
In file included from gss/sk_utils.c:36:
/usr/include/openssl/dh.h:253:28: note: declared here
  253 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
      |                            ^~~~~~~~~~~
gss/sk_utils.c:747:9: error: &apos;BN_is_prime_ex&apos; is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  747 |         rc = BN_is_prime_ex(p, num_rounds, ctx, NULL);
      |         ^~
In file included from /usr/include/openssl/asn1.h:33,
                 from /usr/include/openssl/dh.h:85,
                 from gss/sk_utils.c:36:
/usr/include/openssl/bn.h:373:5: note: declared here
  373 | int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
      |     ^~~~~~~~~~~~~~
gss/sk_utils.c:759:9: error: &apos;BN_is_prime_ex&apos; is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  759 |         rc = BN_is_prime_ex(r, num_rounds, ctx, NULL);
      |         ^~
In file included from /usr/include/openssl/asn1.h:33,
                 from /usr/include/openssl/dh.h:85,
                 from gss/sk_utils.c:36:
/usr/include/openssl/bn.h:373:5: note: declared here
  373 | int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
      |     ^~~~~~~~~~~~~~
gss/sk_utils.c: In function &apos;sk_speedtest_dh_valid&apos;:
gss/sk_utils.c:809:9: error: &apos;DH_new&apos; is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  809 |         dh = DH_new();
      |         ^~
In file included from gss/sk_utils.c:36:
/usr/include/openssl/dh.h:199:27: note: declared here
  199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
      |                           ^~~~~~
gss/sk_utils.c:825:9: error: &apos;DH_set0_pqg&apos; is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  825 |         if (!DH_set0_pqg(dh, p, NULL, g)) {
      |         ^~
In file included from gss/sk_utils.c:36:
/usr/include/openssl/dh.h:255:27: note: declared here
  255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~
gss/sk_utils.c:873:9: error: &apos;DH_free&apos; is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  873 |         DH_free(dh);
      |         ^~~~~~~
&amp;lt;~snip~&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;https://build.whamcloud.com/view/all/job/sandbox/1/arch=x86_64,build_type=client,distro=ubuntu2204,ib_stack=inkernel/consoleFull&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.whamcloud.com/view/all/job/sandbox/1/arch=x86_64,build_type=client,distro=ubuntu2204,ib_stack=inkernel/consoleFull&lt;/a&gt;&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# gcc --version
gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0

# openssl version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="70497">LU-15896</key>
            <summary>gss/sk_utils.c error: &apos;DH_check&apos; is deprecated: Since OpenSSL 3.0</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="sebastien">Sebastien Buisson</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                            <label>ubuntu</label>
                    </labels>
                <created>Thu, 26 May 2022 19:01:25 +0000</created>
                <updated>Sun, 21 Aug 2022 13:38:37 +0000</updated>
                            <resolved>Mon, 8 Aug 2022 22:28:28 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                    <fixVersion>Lustre 2.15.2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="336129" author="yujian" created="Thu, 26 May 2022 19:07:36 +0000"  >&lt;p&gt;&lt;a href=&quot;https://www.openssl.org/docs/man3.0/man7/migration_guide.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.openssl.org/docs/man3.0/man7/migration_guide.html&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;OpenSSL has historically provided two sets of APIs for invoking cryptographic algorithms: the &quot;high level&quot; APIs (such as the EVP APIs) and the &quot;low level&quot; APIs. The high level APIs are typically designed to work across all algorithm types. The &quot;low level&quot; APIs are targeted at a specific algorithm implementation. For example, the EVP APIs provide the functions EVP_EncryptInit_ex(3), EVP_EncryptUpdate(3) and EVP_EncryptFinal(3) to perform symmetric encryption. Those functions can be used with the algorithms AES, CHACHA, 3DES etc. On the other hand, to do AES encryption using the low level APIs you would have to call AES specific functions such as AES_set_encrypt_key(3), AES_encrypt(3), and so on. The functions for 3DES are different. Use of the low level APIs has been informally discouraged by the OpenSSL development team for a long time. However in OpenSSL 3.0 this is made more formal. All such low level APIs have been deprecated. You may still use them in your applications, but you may start to see deprecation warnings during compilation (dependent on compiler support for this). Deprecated APIs may be removed from future versions of OpenSSL so you are strongly encouraged to update your code to use the high level APIs instead.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="336131" author="yujian" created="Thu, 26 May 2022 19:11:26 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=sebastien&quot; class=&quot;user-hover&quot; rel=&quot;sebastien&quot;&gt;sebastien&lt;/a&gt;,&lt;br/&gt;
Could you please take a look at this issue?&lt;/p&gt;</comment>
                            <comment id="336314" author="gerrit" created="Mon, 30 May 2022 14:20:48 +0000"  >&lt;p&gt;&quot;Sebastien Buisson &amp;lt;sbuisson@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47485&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47485&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15896&quot; title=&quot;gss/sk_utils.c error: &amp;#39;DH_check&amp;#39; is deprecated: Since OpenSSL 3.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15896&quot;&gt;&lt;del&gt;LU-15896&lt;/del&gt;&lt;/a&gt; gss: ignore OpenSSLv3 deprecated API&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 05d5b73ebb253c0e3ed5a7954b751ebbdb2d61bf&lt;/p&gt;</comment>
                            <comment id="336315" author="sebastien" created="Mon, 30 May 2022 14:21:32 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=yujian&quot; class=&quot;user-hover&quot; rel=&quot;yujian&quot;&gt;yujian&lt;/a&gt; can you please give a try to &lt;a href=&quot;https://review.whamcloud.com/47485&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47485&lt;/a&gt; ?&lt;/p&gt;</comment>
                            <comment id="336363" author="yujian" created="Mon, 30 May 2022 22:43:30 +0000"  >&lt;p&gt;It works. Thank you, &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=sebastien&quot; class=&quot;user-hover&quot; rel=&quot;sebastien&quot;&gt;sebastien&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="338078" author="gerrit" created="Sat, 18 Jun 2022 15:33:40 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/47485/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47485/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15896&quot; title=&quot;gss/sk_utils.c error: &amp;#39;DH_check&amp;#39; is deprecated: Since OpenSSL 3.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15896&quot;&gt;&lt;del&gt;LU-15896&lt;/del&gt;&lt;/a&gt; gss: ignore OpenSSLv3 deprecated API&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ee60c14360839ab9955ff968d082dfdc269c05bf&lt;/p&gt;</comment>
                            <comment id="338536" author="gerrit" created="Thu, 23 Jun 2022 16:17:32 +0000"  >&lt;p&gt;&quot;Sebastien Buisson &amp;lt;sbuisson@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47717&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47717&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15896&quot; title=&quot;gss/sk_utils.c error: &amp;#39;DH_check&amp;#39; is deprecated: Since OpenSSL 3.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15896&quot;&gt;&lt;del&gt;LU-15896&lt;/del&gt;&lt;/a&gt; gss: support OpenSSLv3&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 37c901e794f7cdd814436244ac68e93b8b3aea0b&lt;/p&gt;</comment>
                            <comment id="338607" author="gerrit" created="Fri, 24 Jun 2022 04:48:01 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47739&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47739&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15896&quot; title=&quot;gss/sk_utils.c error: &amp;#39;DH_check&amp;#39; is deprecated: Since OpenSSL 3.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15896&quot;&gt;&lt;del&gt;LU-15896&lt;/del&gt;&lt;/a&gt; gss: ignore OpenSSLv3 deprecated API&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 254f1102c86347b7e9337c469df192f0d436b639&lt;/p&gt;</comment>
                            <comment id="339640" author="gerrit" created="Tue, 5 Jul 2022 22:14:57 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/47739/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47739/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15896&quot; title=&quot;gss/sk_utils.c error: &amp;#39;DH_check&amp;#39; is deprecated: Since OpenSSL 3.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15896&quot;&gt;&lt;del&gt;LU-15896&lt;/del&gt;&lt;/a&gt; gss: ignore OpenSSLv3 deprecated API&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: c5e282e51df4c8e99d35e7e17d5107f5aa0aafaa&lt;/p&gt;</comment>
                            <comment id="342952" author="gerrit" created="Mon, 8 Aug 2022 19:53:42 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/47717/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47717/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15896&quot; title=&quot;gss/sk_utils.c error: &amp;#39;DH_check&amp;#39; is deprecated: Since OpenSSL 3.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15896&quot;&gt;&lt;del&gt;LU-15896&lt;/del&gt;&lt;/a&gt; gss: support OpenSSLv3&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 615691a531a80b75c4dd054dbb86d0bdbf4cf808&lt;/p&gt;</comment>
                            <comment id="342977" author="pjones" created="Mon, 8 Aug 2022 22:28:28 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="343246" author="gerrit" created="Wed, 10 Aug 2022 16:19:21 +0000"  >&lt;p&gt;&quot;Sebastien Buisson &amp;lt;sbuisson@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/48184&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48184&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15896&quot; title=&quot;gss/sk_utils.c error: &amp;#39;DH_check&amp;#39; is deprecated: Since OpenSSL 3.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15896&quot;&gt;&lt;del&gt;LU-15896&lt;/del&gt;&lt;/a&gt; gss: support OpenSSLv3&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 41fa4f5a871989a189a90130d9811e164204f58d&lt;/p&gt;</comment>
                            <comment id="344183" author="gerrit" created="Sat, 20 Aug 2022 16:14:30 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/48184/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48184/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15896&quot; title=&quot;gss/sk_utils.c error: &amp;#39;DH_check&amp;#39; is deprecated: Since OpenSSL 3.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15896&quot;&gt;&lt;del&gt;LU-15896&lt;/del&gt;&lt;/a&gt; gss: support OpenSSLv3&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8843418a5e8acd86d112327862524ff6f900c3fa&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="69981">LU-15781</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i02qxr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>