<?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 — wc_MakeSelfCert problem.]]></title>
		<link>https://www.wolfssl.com/forums/topic656-wcmakeselfcert-problem.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic656.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in wc_MakeSelfCert problem..]]></description>
		<lastBuildDate>Thu, 02 Jul 2015 21:02:38 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: wc_MakeSelfCert problem.]]></title>
			<link>https://www.wolfssl.com/forums/post2054.html#p2054</link>
			<description><![CDATA[<p>Hi Midas,</p><p>Can you verify that you are compiling your application with the same preprocessor defines used to compile the wolfSSL library?&nbsp; A simple way to do this if you used the autoconf/configure system to build wolfSSL is to include the &lt;wolfssl/options.h&gt; header in your application code, ie:</p><p>#include &lt;wolfssl/options.h&gt;</p><p>Best Regards,<br />Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrisc)]]></author>
			<pubDate>Thu, 02 Jul 2015 21:02:38 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2054.html#p2054</guid>
		</item>
		<item>
			<title><![CDATA[wc_MakeSelfCert problem.]]></title>
			<link>https://www.wolfssl.com/forums/post2030.html#p2030</link>
			<description><![CDATA[<p>Hey Guys,</p><p>I was generating a self-signed certificate as explained by the manuals on Ubuntu with Netbeans<br />When I used:</p><p>&nbsp; &nbsp; byte certDer[4096];<br />&nbsp; &nbsp; bzero(&amp;certDer, sizeof(certDer));<br />&nbsp; &nbsp; certSize = wc_MakeSelfCert(&amp;cert, certDer, sizeof(certDer), &amp;rsaKey, &amp;rng);</p><p>I received a runtime Segfault on the wc_MakeSelfCert function.<br />The error was resolved by declaring certDer as certDer[4097].</p><p>When printing the contents of the 4097th byte in the array I receive the hex value 14.</p><p>Am I missing something here or is there an extra byte filled up in the function somewhere?</p><p>Thanks in advance!</p><p>Midas</p>]]></description>
			<author><![CDATA[null@example.com (midas)]]></author>
			<pubDate>Sun, 07 Jun 2015 03:55:01 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2030.html#p2030</guid>
		</item>
	</channel>
</rss>
