<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — How to use socket-type BIOs?]]></title>
		<link>https://www.wolfssl.com/forums/topic1441-how-to-use-sockettype-bios.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic1441.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How to use socket-type BIOs?.]]></description>
		<lastBuildDate>Thu, 19 Sep 2019 13:53:37 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to use socket-type BIOs?]]></title>
			<link>https://www.wolfssl.com/forums/post4875.html#p4875</link>
			<description><![CDATA[<p>Hi ENOTTY,</p><p>We put up an example for using the BIO compatibility layer with SSL here:<br /><a href="https://github.com/wolfSSL/wolfssl-examples/pull/171">https://github.com/wolfSSL/wolfssl-examples/pull/171</a></p><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Thu, 19 Sep 2019 13:53:37 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post4875.html#p4875</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to use socket-type BIOs?]]></title>
			<link>https://www.wolfssl.com/forums/post4869.html#p4869</link>
			<description><![CDATA[<div class="quotebox"><cite>dgarske wrote:</cite><blockquote><p>The BIO_write expects WOLFSSL_BIO_SSL for an SSL socket write. Have you tried setting up a BIO with that type?</p></blockquote></div><p>Hi David,</p><p>Thanks for replying.&nbsp; Are there examples somewhere of creating a BIO of the SSL type and using it?&nbsp; OpenSSL&#039;s man pages have an example using BIO_new_ssl_connect but that is not one of WolfSSL&#039;s supported APIs.</p>]]></description>
			<author><![CDATA[null@example.com (ENOTTY)]]></author>
			<pubDate>Thu, 19 Sep 2019 00:09:35 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post4869.html#p4869</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to use socket-type BIOs?]]></title>
			<link>https://www.wolfssl.com/forums/post4867.html#p4867</link>
			<description><![CDATA[<p>Hi ENOTTY,</p><p>The BIO_write expects WOLFSSL_BIO_SSL for an SSL socket write. Have you tried setting up a BIO with that type?</p><p>We have some BIO enhancements in the queue. See this pull request: <a href="https://github.com/wolfSSL/wolfssl/pull/2462">https://github.com/wolfSSL/wolfssl/pull/2462</a></p><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Wed, 18 Sep 2019 16:54:15 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post4867.html#p4867</guid>
		</item>
		<item>
			<title><![CDATA[How to use socket-type BIOs?]]></title>
			<link>https://www.wolfssl.com/forums/post4864.html#p4864</link>
			<description><![CDATA[<p>Hi all,</p><p>I&#039;m using a library designed for OpenSSL.&nbsp; The library&#039;s API takes BIO pointers.&nbsp; It later calls BIO_read() and BIO_write() on that BIO pointer.</p><p>If I use the WolfSSL API normally, the WOLFSSL structure doesn&#039;t fill in the biord and biowr fields, so SSL_get_rbio/SSL_get_wbio won&#039;t provide me a BIO to pass to the third party library.</p><p>I can successfully create a socket BIO using BIO_new_socket with an opened/connected socket file descriptor, pass it to SSL_set_bio, then SSL_connect().&nbsp; Everything succeeds.</p><p>SSL_write() of a char * buffer also succeeds.&nbsp; But if I replace that with a BIO_write(), no data is sent.<br />BIO_write doesn&#039;t handle BIOs of type WOLFSSL_BIO_SOCKET, so it doesn&#039;t actually work on my BIO.</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (ENOTTY)]]></author>
			<pubDate>Tue, 17 Sep 2019 17:25:10 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post4864.html#p4864</guid>
		</item>
	</channel>
</rss>
