<?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 — yaSSL (Deprecated) [READ ONLY]]]></title>
		<link>https://www.wolfssl.com/forums/</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-forum2.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent topics at wolfSSL - Embedded SSL Library.]]></description>
		<lastBuildDate>Tue, 02 May 2017 16:51:37 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Deprecating yaSSL Forums]]></title>
			<link>https://www.wolfssl.com/forums/topic990-deprecating-yassl-forums-new-posts.html</link>
			<description><![CDATA[<p>Hi,</p><p>As we now encourage users to use wolfSSL over yaSSL, we are deprecating the yaSSL forums and making them read only.</p><p>Best Regards,<br />Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrisc)]]></author>
			<pubDate>Tue, 02 May 2017 16:51:37 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic990-deprecating-yassl-forums-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Client implementation]]></title>
			<link>https://www.wolfssl.com/forums/topic543-client-implementation-new-posts.html</link>
			<description><![CDATA[<p>Hello,</p><p>I&#039;m porting the yassl library to FreeBSD. The configure / make process runs more or less smoothly (I might submit FreeBSD-specific patches later on). I&#039;m now trying to compile and run a simple client application, but run into linking errors because the definition of the Client interface is not included in the library:</p><p>client.cpp:(.text+0x21): undefined reference to `yaSSL::Client::Client()&#039;<br />client.cpp:(.text+0x34): undefined reference to `yaSSL::Client::SetCA(char const*)&#039;<br />client.cpp:(.text+0x111): undefined reference to `yaSSL::Client::~Client()&#039;<br />client.cpp:(.text+0x1b7): undefined reference to `yaSSL::Client::Connect(int)&#039;<br />client.cpp:(.text+0x27a): undefined reference to `yaSSL::Client::Write(void const*, int)&#039;<br />client.cpp:(.text+0x29a): undefined reference to `yaSSL::Client::Read(void*, int)&#039;<br />client.cpp:(.text+0x318): undefined reference to `yaSSL::Client::~Client()</p><p>I see that the implementation is in yassl.cpp, which is not built and thus not included in the library. yassl.cpp is only listed in EXTRA_DIST.</p><p>Any idea how one is supposed to use the Client (or Server) API?</p>]]></description>
			<author><![CDATA[null@example.com (gahr)]]></author>
			<pubDate>Tue, 06 May 2014 10:15:11 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic543-client-implementation-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[IPv6 Support]]></title>
			<link>https://www.wolfssl.com/forums/topic488-ipv6-support-new-posts.html</link>
			<description><![CDATA[<p>Hi,</p><p>I have just begin studying yaSSL these days.</p><p>Can someone tell me that&nbsp; yaSSL whether support IPv6 without CyaSSL?</p><p>Thank you.</p><br /><p>-DC</p>]]></description>
			<author><![CDATA[null@example.com (dc5c)]]></author>
			<pubDate>Wed, 08 Jan 2014 08:27:45 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic488-ipv6-support-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Certificate Expired]]></title>
			<link>https://www.wolfssl.com/forums/topic361-certificate-expired-new-posts.html</link>
			<description><![CDATA[<p>Hello,</p><p>I am testing the yaSSL GPL code. </p><p>I started testing all the crypto algorithms supported by yaSSL.</p><p>Most of the algorithms got passed. But RSA test failed. When I debugged I found that this test failed because certificate got expired. </p><p>I hope yaSSL tries to extract the public key from the certificate and while validating this certificate it failed.</p><p>Can someone help me from where I could get the new client certificate.</p><p>Regards,<br />Satish</p>]]></description>
			<author><![CDATA[null@example.com (satishkumaryarru)]]></author>
			<pubDate>Sun, 21 Apr 2013 10:34:37 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic361-certificate-expired-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Error while running configuration file]]></title>
			<link>https://www.wolfssl.com/forums/topic359-error-while-running-configuration-file-new-posts.html</link>
			<description><![CDATA[<p>Hi,</p><p> I have downloaded yaSSL GPL code and tried to build on Ubuntu platform.<br /> While runing ./configure, i am facing some error as follows.</p><br /><p>checking for g++ ... no<br />checking for c++... no<br />checking for gpp .. no<br />checking for aCC ... no<br />checking for CC ... no<br />checking for cxx ... no<br />checking for cc++ ... no<br />......<br />.....<br />checking whether c++ compiler works ... no<br />configure : error : C++ compiler cannot create executable.<br />see config.log for more details.</p><p>Can someone help me out how to fix thiis error?</p>]]></description>
			<author><![CDATA[null@example.com (satishkumaryarru)]]></author>
			<pubDate>Wed, 17 Apr 2013 16:15:08 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic359-error-while-running-configuration-file-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[PVS-Studio]]></title>
			<link>https://www.wolfssl.com/forums/topic301-pvsstudio-new-posts.html</link>
			<description><![CDATA[<p>I downloaded cyassl-2.4.0.zip and checked the project using <a href="http://www.viva64.com/en/pvs-studio/">PVS-Studio</a>. One can say that I found nothing. Good code.<br />Drew attention to only two seats. Do not know if there is an error or not. Decided to write. Just in case.</p><p>1) V612 An unconditional &#039;return&#039; within a loop. internal.c 7190</p><div class="codebox"><pre><code>static int DoClientHello(....)
{
  ....
  while (ssl-&gt;options.resuming) {
    ....
    if (!session) {
      ....
      break;
    }
    if (MatchSuite(ssl, &amp;clSuites) &lt; 0) {
      ....
      return UNSUPPORTED_SUITE;
    }
    ....
    return ret;
  }
  return MatchSuite(ssl, &amp;clSuites);
}  </code></pre></div><p>Also:<br />V612 An unconditional &#039;return&#039; within a loop. internal.c 7026</p><p>2) V614 Potentially uninitialized variable &#039;rhSize&#039; used. sniffer.c 2255</p><div class="codebox"><pre><code>static int ProcessMessage(....)
{
  int rhSize;
  ....
  notEnough = 0;
  ....
  if (sslBytes &gt;= RECORD_HEADER_SZ) {
    if (GetRecordHeader(sslFrame, &amp;rh, &amp;rhSize) != 0) {
      ....
      return -1;
    }
  }
  else
    notEnough = 1;
  ....
  if (notEnough || rhSize &gt; (sslBytes - RECORD_HEADER_SZ)) {
    ....
  }

  tmp = sslFrame + rhSize;   &lt;&lt;&lt;---
  ....
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Andrey Karpov)]]></author>
			<pubDate>Tue, 11 Dec 2012 11:31:52 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic301-pvsstudio-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[MySQL bug: yaSSL fails server's cert is signed with SHA-2 family]]></title>
			<link>https://www.wolfssl.com/forums/topic231-mysql-bug-yassl-fails-servers-cert-is-signed-with-sha2-family-new-posts.html</link>
			<description><![CDATA[<p><a href="http://bugs.mysql.com/bug.php?id=63321">http://bugs.mysql.com/bug.php?id=63321</a></p><p>FYI, there&#039;s a diff for yassl in this one.</p>]]></description>
			<author><![CDATA[null@example.com (gkodinov)]]></author>
			<pubDate>Mon, 25 Jun 2012 14:22:09 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic231-mysql-bug-yassl-fails-servers-cert-is-signed-with-sha2-family-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[yassl doesn't build on windows8 consumer preview]]></title>
			<link>https://www.wolfssl.com/forums/topic225-yassl-doesnt-build-on-windows8-consumer-preview-new-posts.html</link>
			<description><![CDATA[<p>I&#039;ve tried compiling mysql-trunk on windows 8 consumer preview using visual stuio 11 express beta.</p><p>I&#039;m getting : <br />Microsoft (R) Program Maintenance Utility Version 11.00.50214.1<br />Copyright (C) Microsoft Corporation.&nbsp; All rights reserved.</p><p>[&nbsp; 0%] Built target INFO_BIN<br />[&nbsp; 0%] Built target INFO_SRC<br />[&nbsp; 2%] Built target zlib<br />[&nbsp; 2%] Building CXX object extra/yassl/CMakeFiles/yassl.dir/src/cert_wrapper.cpp<br />.obj<br />cert_wrapper.cpp<br />e:\test-trunk\extra\yassl\include\socket_wrapper.hpp(31) : fatal error C1083: Ca<br />nnot open include file: &#039;winsock2.h&#039;: No such file or directory</p>]]></description>
			<author><![CDATA[null@example.com (gkodinov)]]></author>
			<pubDate>Thu, 31 May 2012 09:57:53 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic225-yassl-doesnt-build-on-windows8-consumer-preview-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[extracting values from an openssl generated public RSA key]]></title>
			<link>https://www.wolfssl.com/forums/topic130-extracting-values-from-an-openssl-generated-public-rsa-key-new-posts.html</link>
			<description><![CDATA[<p>I&#039;m trying to follow the examples provided to load a public RSA key. I generated the key as:</p><div class="codebox"><pre><code>openssl genrsa -out my_priv_key.pem 4096
openssl rsa -in my_priv_key.pem -out my_pub_key.pem -pubout</code></pre></div><p>Then converted the PEM files to DER files like this:<br /></p><div class="codebox"><pre><code>openssl rsa -in  my_priv_key.pem  -inform PEM -out  my_priv_key.der -outform DER
openssl rsa -in  my_priv_key.pem -pubout -out my_pub_key.der -outform DER</code></pre></div><p>Parsing the private key works fine and I can successfully extract the public key components from this key to encrypt and decrypt a message (using&nbsp; &nbsp;rsaPub.SetModulus(n); rsaPub.SetPublicExponent(e)), but when I try to do:</p><div class="codebox"><pre><code>TaoCrypt::RSA_PublicKey rsaPub(public_key_src);
TaoCrypt::PK_Lengths lengths(rsaPub.GetModulus());
printf(&quot;Pub key: FixedCiphertextLength= %u\n&quot;,lengths.FixedCiphertextLength());</code></pre></div><p>I get the result:<br />Pub key: FixedCiphertextLength= 0</p><p>The failure seems to happen in RSA_Public_Decode::Decode() :</p><div class="codebox"><pre><code>// Decode a BER encoded RSA Public Key
void RSA_Public_Decoder::Decode(RSA_PublicKey&amp; key)
{
    ReadHeader();
    if (source_.GetError().What()) return;

    // public key
    key.SetModulus(GetInteger(Integer().Ref()));  &lt;---- Fails
    key.SetPublicExponent(GetInteger(Integer().Ref()));
}</code></pre></div><p>and more specifically here:</p><div class="codebox"><pre><code>void Integer::Decode(Source&amp; source)
{
    byte b = source.next();
    if (b != INTEGER) {
        source.SetError(INTEGER_E);  &lt;-- exit path
        return;
    }
[..]</code></pre></div><p>What is the proper way to store the public key so that it can be parsed correctly?</p><p>Regards,<br />Kristofer Pettersson</p>]]></description>
			<author><![CDATA[null@example.com (Kristofer)]]></author>
			<pubDate>Mon, 11 Jul 2011 16:21:18 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic130-extracting-values-from-an-openssl-generated-public-rsa-key-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[How to build yaSSL shared library?]]></title>
			<link>https://www.wolfssl.com/forums/topic58-how-to-build-yassl-shared-library-new-posts.html</link>
			<description><![CDATA[<p>[Message migrated from SourceForge forums]</p><p><strong>sajithts</strong><br />(2008-10-01 06:36:17 UTC)</p><p>How to build yassl and taocrypt shared libraries?&nbsp; I can seem to build only the static libs.&nbsp; On Ubuntu 7.04 feisty; autoconf 2.5.0; automake 1.9.6; libtool 1.5.22.</p><br /><p><strong>touska</strong><br />(2008-10-01 21:42:37 UTC)</p><p>I&#039;ve added support to configure for shared libs.&nbsp; Though sourceforge is having problems with developer access to CVS after their migration yesterday so I can&#039;t check in the changes yet.&nbsp; I&#039;ll post back after it&#039;s checked in.</p><p>Shared lib support in configure is checked in for yaSSL.&nbsp; See: <a href="http://sourceforge.net/cvs/?group_id=129181">http://sourceforge.net/cvs/?group_id=129181</a> for details.</p><br /><p><strong>sajithts</strong><br />(2008-10-02 10:03:43 UTC)</p><p>That worked.&nbsp; Thank you!&nbsp; openssl-links target is perhaps an affected party.&nbsp; You might want to check that.&nbsp; I however was trying to build curl against yassl for a mips-linux-uclibc based embedded system.&nbsp; Looks like yassl is a little too big for this particular box.&nbsp; (libyassl 508K, libyacrypt 528K, plus C++ runtime perhaps?&nbsp; </p><p>This was built with &quot;./configure</p><p>--disable-zlib --enable-plain-c&quot;, have I done it right?)</p><p>Got a few questions here:</p><p>1. Perhaps I should try cyassl?&nbsp; This certainly depends on the state of cyassl&#039;s openssl compatibility layer..</p><p>2. Is cyassl&#039;s openssl compat layer &quot;good enough&quot; for curl at this point?&nbsp; Reason for asking is, in curl users&#039; mailing list, I was told that although curl buids against yassl, it doesn&#039;t pass all test cases.&nbsp; Further, no one has tried buidling curl against cyassl, so it probably stands much less chance.&nbsp; (I was also told that it should not be too hard to make curl work with yassl&#039;s native API, but I&#039;m on a schedule here...)</p><p>3. I did try building curl against cyassl, but curl&#039;s configure complained about missing libcrypto symbols (CRYPTO_lock etc.)&nbsp; How can I build libctaocrypt properly?</p><p>Sorry about pestering.&nbsp; But I&#039;m sort of lost with both openssl and gnutls.&nbsp; I was really excited to find yassl project...</p><br /><p><strong>sajithts</strong><br />(2008-10-02 11:08:24 UTC)</p><p>Q&amp;A in curl users&#039;s list, if anyone wants to take a look...</p><p><a href="http://curl.haxx.se/mail/archive-2008-10/0001.html">http://curl.haxx.se/mail/archive-2008-10/0001.html</a><br /><a href="http://curl.haxx.se/mail/archive-2008-10/0002.html">http://curl.haxx.se/mail/archive-2008-10/0002.html</a><br /><a href="http://curl.haxx.se/mail/archive-2008-10/0003.html">http://curl.haxx.se/mail/archive-2008-10/0003.html</a></p><br /><p><strong>touska</strong><br />(2008-10-02 19:19:21 UTC)<br />You might want to try --disable-debug and stripping the shared objects as well.&nbsp; Though not sure if that will be enough for you.</p><p>I&#039;ll try to get CyaSSL to build with curl, it should be pretty close.&nbsp; I&#039;ll post back on the results.</p>]]></description>
			<author><![CDATA[null@example.com (chrisc)]]></author>
			<pubDate>Thu, 13 Jan 2011 23:04:04 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic58-how-to-build-yassl-shared-library-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[yaSSL building with latest libcurl 7.21.2]]></title>
			<link>https://www.wolfssl.com/forums/topic52-yassl-building-with-latest-libcurl-7212-new-posts.html</link>
			<description><![CDATA[<p>I&#039;m trying to get yaSSL 2.0.0 building with libcurl 7.21.2 in Window but I&#039;m getting some errors:</p><p>openssl/dsa.h<br />openssl/dh.h files are missing. </p><p>Is it possible to build licurl using yassl as underlying SSL stack.</p><p>-Ambuj</p>]]></description>
			<author><![CDATA[null@example.com (ambuj.jain)]]></author>
			<pubDate>Sat, 11 Dec 2010 10:42:23 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic52-yassl-building-with-latest-libcurl-7212-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[CyaSSL Embedded SSL]]></title>
			<link>https://www.wolfssl.com/forums/topic10-cyassl-embedded-ssl-new-posts.html</link>
			<description><![CDATA[<p>Can any one help me about how can i integrate YaSSl library into my web site</p>]]></description>
			<author><![CDATA[null@example.com (larry)]]></author>
			<pubDate>Tue, 09 Nov 2010 05:19:28 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic10-cyassl-embedded-ssl-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Welcome]]></title>
			<link>https://www.wolfssl.com/forums/topic6-welcome-new-posts.html</link>
			<description><![CDATA[<p>Welcome to the yaSSL forums.&nbsp; Any questions, comments, feature requests, or any other posts having to do with yaSSL go here.</p>]]></description>
			<author><![CDATA[null@example.com (todd)]]></author>
			<pubDate>Wed, 27 Oct 2010 15:46:02 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic6-welcome-new-posts.html</guid>
		</item>
	</channel>
</rss>
