Ivan Daschinsky created IGNITE-15353:
----------------------------------------

             Summary: CPP: Ignored loading openssl libraries from OPENSSL_HOME 
on Windows
                 Key: IGNITE-15353
                 URL: https://issues.apache.org/jira/browse/IGNITE-15353
             Project: Ignite
          Issue Type: Bug
            Reporter: Ivan Daschinsky
            Assignee: Igor Sapego


Currently, logic looks like this 
{{code}}
libssl = LoadSslLibrary("libssl");

if (!libssl.IsLoaded())
{
    libcrypto = LoadSslLibrary("libcrypto-1_1-x64");
    libssl = LoadSslLibrary("libssl-1_1-x64");
}

if (!libssl.IsLoaded())
{
    libeay32 = LoadSslLibrary("libeay32");
    ssleay32 = LoadSslLibrary("ssleay32");
}
{{code}}

1. First line is for linux, it is ok.
2. Second line has a few problem.
* On 64 bit -- If OPENSSL_HOME contains 1.0.x version of openssl, it is ignored 
and another version is loaded. 
*  On 32 bit -- naming is different, libcrypto-1_1 and libssl-1_1, so loading 
will fail



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to