<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:08:34 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>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[MONGOCRYPT-383] Do not declare OpenSSL 1.1 polyfill functions in global scope</title>
                <link>https://jira.mongodb.org/browse/MONGOCRYPT-383</link>
                <project id="17481" key="MONGOCRYPT">Libmongocrypt</project>
                    <description>&lt;p&gt;Note: this description is intentionally brief, as the full context for this issue is already presented in &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4297&quot; title=&quot;Do not declare OpenSSL 1.1 polyfill functions in global scope&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4297&quot;&gt;&lt;del&gt;CDRIVER-4297&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In libmongocrypt, the following OpenSSL 1.1 functions are declared when compiling against OpenSSL 1.0.x:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;tt&gt;EVP_CIPHER_CTX_new&lt;/tt&gt; and &lt;tt&gt;EVP_CIPHER_CTX_free&lt;/tt&gt;, which are defined in &lt;a href=&quot;https://github.com/mongodb/libmongocrypt/blob/1.3.0/src/crypto/libcrypto.c#L36&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;src/crypto/libcrypto.c&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;These functions should either be declared statically or renamed/prefixed, as is done for some libbson compat functions.&lt;/p&gt;

&lt;p&gt;Note: &lt;tt&gt;EVP_MD_CTX_new&lt;/tt&gt; and &lt;tt&gt;EVP_MD_CTX_free&lt;/tt&gt; are defined &lt;a href=&quot;https://github.com/mongodb/libmongocrypt/blob/1.3.0/kms-message/src/kms_crypto_libcrypto.c#L25&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;kms-message/src/kms_crypto_libcrypto.c&lt;/a&gt;, but those declarations already use &lt;tt&gt;static&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1984689">MONGOCRYPT-383</key>
            <summary>Do not declare OpenSSL 1.1 polyfill functions in global scope</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Wed, 16 Feb 2022 15:56:25 +0000</created>
                <updated>Sat, 28 Oct 2023 10:25:39 +0000</updated>
                            <resolved>Thu, 17 Feb 2022 18:59:06 +0000</resolved>
                                                    <fixVersion>1.3.1</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="4362268" author="xgen-internal-githook" created="Thu, 17 Feb 2022 18:58:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Remi Collet&apos;, &apos;email&apos;: &apos;remi@remirepo.net&apos;, &apos;username&apos;: &apos;remicollet&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/MONGOCRYPT-383&quot; title=&quot;Do not declare OpenSSL 1.1 polyfill functions in global scope&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-383&quot;&gt;&lt;del&gt;MONGOCRYPT-383&lt;/del&gt;&lt;/a&gt; use static decls for OpenSSL 1.1 polyfills (#251)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;hide openssl 1.0/1.1 helpers&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;remove EVP_CIPHER_CTX_new and EVP_CIPHER_CTX_free&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;They are declared in OpenSSL 1.0.1+.&lt;br/&gt;
They are declared in LibreSSL 2.0.0+.&lt;/p&gt;

&lt;p&gt;Co-authored-by: Kevin Albertson &amp;lt;kevin.albertson@mongodb.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/commit/7b5e36155264699b62c88413efaf4c7a9638a230&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/commit/7b5e36155264699b62c88413efaf4c7a9638a230&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4358929" author="jmikola@gmail.com" created="Wed, 16 Feb 2022 15:58:48 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=remi&quot; class=&quot;user-hover&quot; rel=&quot;remi&quot;&gt;remi&lt;/a&gt; submitted a PR: &lt;a href=&quot;https://github.com/mongodb/libmongocrypt/pull/251&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/pull/251&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kevin.albertson&quot; class=&quot;user-hover&quot; rel=&quot;kevin.albertson&quot;&gt;kevin.albertson&lt;/a&gt;: Assigning this to you for review.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1984687">CDRIVER-4297</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_21957" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Binding Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="22966"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i03gzz:</customfieldvalue>

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