<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hi,</div>
<div> </div>
<div>We are using OpenSSl 1.0.2n in our server running on LINUX.</div>
<div>We call SSL_connect() on async socket (after TCP connect completion) to establish a secure connection.</div>
<div>According to DOC SSL_get_error(() has to be called if SSL_connect() returns <=0</div>
<div> </div>
<div>We do not understand what to do if SSL_get_error(() returns <font face="Consolas" size="2"><span style="font-size:9.5pt;">SSL_ERROR_SYSCALL</span></font><font face="Consolas" size="2"><span style="font-size:9.5pt;"> </span></font>and errno is EWOULDBLOCK</div>
<div>If SSL_get_error returns SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE it pretty clear what to do…</div>
<div>(we set the socket descriptor either in the readfds or writefds and call select to wait until the socket becomes readable or writeable (or times-out)</div>
<div>But when EWOULDBLOCK is indicated, we do not know whether to wait for readable/writeable……</div>
<div>(setting both might be an idea but could easily lead to a live-loop as we suppose that the handshake either waits for a read or for a write but not both…</div>
<div> </div>
<div>Any ideas?</div>
<div>Thanks</div>
<div> </div>
<div><font face="Verdana" size="2"><span style="font-size:9pt;">Mit freundlichen Grüßen/Best regards,<br>

<font size="3" color="#0099CC"><span style="font-size:12pt;"><b>____________<br>

</b></span></font><font size="2" color="#365F91"><span style="font-size:10pt;"><b>Gerhard Jahn</b></span></font></span></font></div>
<div><br>

<font face="Verdana" size="1"><span style="font-size:8pt;">Identity and Access Management</span></font></div>
<div><font face="Verdana" size="1"><span style="font-size:8pt;"> </span></font></div>
<div><font face="Verdana" size="1"><span style="font-size:8pt;">Phone:  +49 (211) 399-33276</span></font></div>
<div><font face="Verdana" size="1"><span style="font-size:8pt;">Phone:  +49 (211) 399-22891</span></font></div>
<div><font face="Verdana" size="1"><span style="font-size:8pt;">Email: <a href="mailto:gerhard.jahn@atos.net"><font color="blue"><u>gerhard.jahn@atos.net</u></font></a></span></font></div>
<div><font face="Verdana" size="1"><span style="font-size:8pt;">Otto-Hahn-Ring 6</span></font></div>
<div><font face="Verdana" size="1"><span style="font-size:8pt;">81739 München, Germany</span></font></div>
<div><font face="Verdana" size="1"><span style="font-size:8pt;">de.atos.net</span></font></div>
<div><img src="cid:231545806@16122011-2476"><img src="cid:989D8F406C721240BD1063C227FC2BEB@mail.sis.atos.net"><br>

<font face="Verdana" size="1" color="#1F497D"><span style="font-size:8pt;">Atos Information Technology GmbH; Geschäftsführung: Winfried Holz, Udo Littke; Vorsitzender d</span></font><font face="Verdana" size="1" color="#1F497D"><span style="font-size:8pt;">es
Aufsichtsrats: N.N.; Sitz der Gesellschaft: München; Registergericht: München, HRB 235509.<br>

<br>

</span></font><font face="Verdana" size="1"><span style="font-size:8pt;">Diese E-Mail und etwaige Anlagen enthalten firmenvertrauliche Informationen, die ausschließlich für den Empfänger bestimmt sind. Sollten Sie diese E-Mail irrtüml</span></font><font face="Verdana" size="1"><span style="font-size:8pt;">ich
erhalten haben, benachrichtigen Sie bitte unverzüglich den Absender per Antwort-Mail und löschen Sie diese E-Mail nebst Anlagen von Ihrem System. Da die Integrität innerhalb des Internets nicht zu gewährleisten ist, kann die Atos Gruppe für die Inhalt</span></font><font face="Verdana" size="1"><span style="font-size:8pt;">e</span></font><font face="Verdana" size="1"><span style="font-size:8pt;">
der Nachricht kein Haftung übernehmen. Obwohl der Absender anstrebt ein virusfreies Computernetzwerk sicherzustellen, kann der Absender nicht gewährleisten, dass diese E-Mail virusfrei ist und wird damit keine Haftung bei Schäden auf Grund einer Virusübe</span></font><font face="Verdana" size="1"><span style="font-size:8pt;">r</span></font><font face="Verdana" size="1"><span style="font-size:8pt;">mittlung
übernehmen.<br>

<br>

</span></font><font face="Verdana" size="1"><span style="font-size:8pt;">This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender
immediately and destroy it. As its integrity canno</span></font><font face="Verdana" size="1"><span style="font-size:8pt;">t be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain
a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be l</span></font><font face="Verdana" size="1"><span style="font-size:8pt;">i</span></font><font face="Verdana" size="1"><span style="font-size:8pt;">able
for any damages resulting from any virus transmitted. </span></font></div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
</span></font>
</body>
</html>