<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:00:48 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>[CXX-922] Fails to build using OpenSSL version 1.1.0</title>
                <link>https://jira.mongodb.org/browse/CXX-922</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;When trying to build legacy-1.1.1 using openssl version 1.1.0 I obtain the following error:&lt;/p&gt;


&lt;p&gt;g++ -o build/linux2/ssl/mongo/util/net/ssl_manager.o -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wnon-virtual-dtor -Woverloaded-virtual -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DMONGO_HAVE_TIMEGM -DMONGO_HAVE_FIPS_MODE_SET -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/ssl -Isrc -Ibuild/linux2/ssl/mongo -Isrc/mongo src/mongo/util/net/ssl_manager.cpp&lt;br/&gt;
src/mongo/util/net/ssl_manager.cpp: In member function &apos;void mongo::&lt;/p&gt;
{anonymous}::SSLThreadInfo::lock_callback(int, int, const char*, int)&apos;:&lt;br/&gt;
src/mongo/util/net/ssl_manager.cpp:98:20: error: &apos;CRYPTO_LOCK&apos; was not declared in this scope&lt;br/&gt;
         if (mode &amp;amp; CRYPTO_LOCK) {&lt;br/&gt;
                    ^&lt;br/&gt;
src/mongo/util/net/ssl_manager.cpp: In member function &apos;bool mongo::{anonymous}
&lt;p&gt;::SSLManager::&lt;em&gt;setSubjectName(const string&amp;amp;, std::&lt;/em&gt;_cxx11::string&amp;amp;)&apos;:&lt;br/&gt;
src/mongo/util/net/ssl_manager.cpp:631:43: error: &apos;BIO_s_file_internal&apos; was not declared in this scope&lt;br/&gt;
     BIO* in = BIO_new(BIO_s_file_internal());&lt;/p&gt;

&lt;p&gt;Compilation succeed if I downgrade to OpenSSL version 1.0.2h.&lt;/p&gt;</description>
                <environment></environment>
        <key id="291997">CXX-922</key>
            <summary>Fails to build using OpenSSL version 1.1.0</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="9">Done</resolution>
                                        <assignee username="david.golden@mongodb.com">David Golden</assignee>
                                    <reporter username="giuliopaci">Giulio Paci</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 Jun 2016 11:39:11 +0000</created>
                <updated>Fri, 13 Apr 2018 09:01:51 +0000</updated>
                            <resolved>Wed, 8 Jun 2016 16:16:21 +0000</resolved>
                                    <version>legacy-1.1.1</version>
                                                    <component>Build</component>
                    <component>Portability</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1863353" author="kedazo" created="Fri, 13 Apr 2018 09:01:51 +0000"  >&lt;p&gt;Hi there, sorry I know that this &quot;legacy&quot; branch is no longer active (EOL) but I&apos;ve made a small mod so it can be compiled against OpenSSL 1.1.x:&lt;br/&gt;
-&amp;gt; &lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/pull/615/files&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/pull/615/files&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Br,&lt;br/&gt;
David&lt;/p&gt;</comment>
                            <comment id="1288136" author="giuliopaci" created="Wed, 8 Jun 2016 17:01:27 +0000"  >&lt;p&gt;You are right, it is still in beta. I did not notice that.&lt;br/&gt;
Sorry for the noise.&lt;/p&gt;</comment>
                            <comment id="1288070" author="acm" created="Wed, 8 Jun 2016 16:16:03 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=giuliopaci&quot; class=&quot;user-hover&quot; rel=&quot;giuliopaci&quot;&gt;giuliopaci&lt;/a&gt; - I don&apos;t think OpenSSL 1.1.0 has been released yet. The legacy C++ driver will obtain a fix for this when:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;OpenSSL 1.1.0 is released as stable.&lt;/li&gt;
	&lt;li&gt;The upstream MongoDB server codebase is required to target an OS or packaging ecosystem that ships OpenSSL 1.1.0&lt;/li&gt;
	&lt;li&gt;The necessary changes to deal with building against OpenSSL 1.1.0 have been committed to the MongoDB master branch&lt;/li&gt;
	&lt;li&gt;Those changes have been validated and backported to the MongoDB v3.0 and v3.2 branches&lt;/li&gt;
	&lt;li&gt;And then those changes have in turn been validated and backported to the legacy C++ driver.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;We do not, in general, support pre-release versions of system libraries.&lt;/p&gt;
</comment>
                            <comment id="1287493" author="giuliopaci" created="Wed, 8 Jun 2016 06:40:46 +0000"  >&lt;p&gt;BTW: I just noticed that I reported the wrong OS. This issue is OS independent.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <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|hsm7if:</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>