<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi jordan,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">I sent one mail previously with same subject around </span><span style="color: rgb(50, 49, 48); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 12px; background-color: rgb(237, 235, 233);">Thu
 9/23/2021 5:50 PM(IST)</span><span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">  But not received any respond back, usually I use to get response with in 12hr. </span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
Hi all<br>
Im not able to find any replacement for BIO_get_port(), BIO_get_host_ip()<br>
<br>
In stack overflow i seen some suggestion<br>
<br>
<a href="https://stackoverflow.com/questions/58282542/openssl-1-1-1d-gives-the-error-on-deprecatedin-1-1-0-in-bio-h" id="LPlnk">https://stackoverflow.com/questions/58282542/openssl-1-1-1d-gives-the-error-on-deprecatedin-1-1-0-in-bio-h</a><br>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1">
<div id="LPBorder_GTaHR0cHM6Ly9zdGFja292ZXJmbG93LmNvbS9xdWVzdGlvbnMvNTgyODI1NDIvb3BlbnNzbC0xLTEtMWQtZ2l2ZXMtdGhlLWVycm9yLW9uLWRlcHJlY2F0ZWRpbi0xLTEtMC1pbi1iaW8taA.." class="LPBorder860532" style="width: 100%; margin-top: 16px; margin-bottom: 16px; position: relative; max-width: 800px; min-width: 424px;">
<table id="LPContainer860532" role="presentation" style="padding: 12px 36px 12px 12px; width: 100%; border-width: 1px; border-style: solid; border-color: rgb(200, 200, 200); border-radius: 2px;">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td>
<div id="LPImageContainer860532" style="position: relative; margin-right: 12px; height: 160px; overflow: hidden;">
<a target="_blank" id="LPImageAnchor860532" href="https://stackoverflow.com/questions/58282542/openssl-1-1-1d-gives-the-error-on-deprecatedin-1-1-0-in-bio-h"><img id="LPThumbnailImageId860532" alt="" height="160" style="display: block;" width="160" src="https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon@2.png?v=73d79a89bded"></a></div>
</td>
<td style="width: 100%;">
<div id="LPTitle860532" style="font-size: 21px; font-weight: 300; margin-right: 8px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px;">
<a target="_blank" id="LPUrlAnchor860532" href="https://stackoverflow.com/questions/58282542/openssl-1-1-1d-gives-the-error-on-deprecatedin-1-1-0-in-bio-h" style="text-decoration: none; color: var(--themePrimary);">python - OpenSSL 1.1.1d gives the error on
 DEPRECATEDIN_1_1_0 in bio.h - Stack Overflow</a></div>
<div id="LPDescription860532" style="font-size: 14px; max-height: 100px; color: rgb(102, 102, 102); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px; margin-right: 8px; overflow: hidden;">
I had used the earlier version OpenSSL 1.0.2s which ran perfectly as there was no such usage of DEPRECATEDIN_1_1_0 in bio.h while the new version 1.1.1d encloses the functions like BIO_get_port using</div>
<div id="LPMetadata860532" style="font-size: 14px; font-weight: 400; color: rgb(166, 166, 166); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif;">
stackoverflow.com</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
<br>
For BIO_get_port() alternative getservbyname()<span style="color:rgb(35, 38, 41);font-family:ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Liberation Mono", Menlo, Monaco, Consolas, monospace;font-size:13px;text-align:left;background-color:rgb(227, 230, 232);display:inline !important"><br>
</span></div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
For BIO_get_host_ip()<span style="background-color:rgb(255, 255, 255);display:inline !important">alternative gethostbyname()<br>
<br>
But these alternative functions are used in  <span style="background-color:rgb(255, 255, 255);display:inline !important">BIO_get_port(), BIO_get_host_ip() itself in openssl version 1.0.1</span></span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span style="background-color:rgb(255, 255, 255);display:inline !important"><br>
</span></span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span style="background-color:rgb(255, 255, 255);display:inline !important">Please suggest the alternative function, or some suggestions to move forward .<br>
<br>
Thanks,<br>
Shivakumar</span></span></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Jordan Brown <openssl@jordan.maileater.net><br>
<b>Sent:</b> Friday, September 24, 2021 9:40 PM<br>
<b>To:</b> Shivakumar Poojari <Shivakumar.Poojari@rbbn.com><br>
<b>Subject:</b> [EXTERNAL] Re: Replacement for BIO_get_port(), BIO_get_host_ip()</font>
<div> </div>
</div>
<div>
<div class="x_moz-cite-prefix">On 9/24/2021 5:53 AM, Shivakumar Poojari wrote:<br>
</div>
<blockquote type="cite">Gentle reminder.<br>
</blockquote>
<br>
You sent a question at somewhere between 2300 and 0200 US time, depending on the time zone, and then you sent a reminder seven hours later, at between 0600 and 0900 US time?<br>
<br>
You might get a reply from somebody somewhere else in the world, but I think most of the people are in the US.  There's a decent chance that prime contributors (in Pacific time, UTC-7) were asleep for that entire time.<br>
<pre class="x_moz-signature" cols="72">-- 
Jordan Brown, Oracle ZFS Storage Appliance, Oracle Solaris</pre>
</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>