<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m trying to load the Legacy Provider by following this guide here
<a href="https://wiki.openssl.org/index.php/OpenSSL_3.0">https://wiki.openssl.org/index.php/OpenSSL_3.0</a> using this following code:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="mso-element:para-border-div;border:solid #EAECF0 1.0pt;padding:12.0pt 12.0pt 12.0pt 12.0pt;background:#F8F9FA">
<p class="MsoNormal" style="line-height:13.2pt;background:#F8F9FA;border:none;padding:0in">
<span style="font-size:9.5pt;font-family:"Courier New";color:black">/* Load Multiple providers into the default (NULL) library context */<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#F8F9FA;border:none;padding:0in">
<span style="font-size:9.5pt;font-family:"Courier New";color:black">       legacy = OSSL_PROVIDER_load(NULL, "legacy");<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#F8F9FA;border:none;padding:0in">
<span style="font-size:9.5pt;font-family:"Courier New";color:black">       if (legacy == NULL) {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#F8F9FA;border:none;padding:0in">
<span style="font-size:9.5pt;font-family:"Courier New";color:black">           printf("Failed to load Legacy provider\n");<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#F8F9FA;border:none;padding:0in">
<span style="font-size:9.5pt;font-family:"Courier New";color:black">           exit(EXIT_FAILURE);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#F8F9FA;border:none;padding:0in">
<span style="font-size:9.5pt;font-family:"Courier New";color:black">       }<o:p></o:p></span></p>
</div>
<p class="MsoNormal">But it fails to load the legacy provider. I also tried to by editing the configuration file but I get the same error. I’m using “OpenSSL 3.0.0 7 sep 2021 (Library: OpenSSL 3.0.0 7 sep 2021)”.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you,<o:p></o:p></p>
<p class="MsoNormal">Ashish<o:p></o:p></p>
</div>
<br clear="both">
Notice: This e-mail together with any attachments may contain information of Ribbon Communications Inc. and its Affiliates that is confidential and/or proprietary for the sole use of the intended recipient. Any review, disclosure, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please notify the sender immediately and then delete all copies, including any attachments.<BR>
</body>
</html>