<div dir="ltr">Thankyou for the responses.<div>We figured the issue. But now we are getting error -5 from "SSL_connect" and the errno is set to 22 which means invalid argument.</div><div>Is there a easy way to debug or get logs for SSL_connect.</div><div><br></div><div>Below is the sequence for the dtls udp connect that we are trying.</div><div>ssl = SSL_new(ctx)<br></div><div>bio = BIO_new_dgram(sock_id,BIO_NOCLOSE)<br></div><div>SSL_set_bio(ssl, bio, bio);<br></div><div>VI_res = SSL_connect(ssl)<br></div><div><br></div><div><br></div><div><br></div><div>Thanks,</div><div>Grace</div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 24, 2017 at 4:07 PM, Matt Caswell <span dir="ltr"><<a href="mailto:matt@openssl.org" target="_blank">matt@openssl.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><br>
<br>
On 24/10/17 11:25, Grace Priscilla Jero wrote:<br>
> We are using SSL_accept to accept the connection for which we see the<br>
> failure. Please let know if you have any thoughts.<br>
<br>
</span>Have you set the wbio correctly? Does SSL_get_wbio() return your wbio<br>
object if you call it immediately before SSL_do_handshake()?<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
Matt<br>
<br>
--<br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/<wbr>mailman/listinfo/openssl-users</a><br>
</font></span></blockquote></div><br></div></div></div>