<?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 — [SOLVED] wolfssl-4.5.0: make check failed for tests/unit.test]]></title>
		<link>https://www.wolfssl.com/forums/topic1660-solved-wolfssl450-make-check-failed-for-testsunittest.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic1660.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [SOLVED] wolfssl-4.5.0: make check failed for tests/unit.test.]]></description>
		<lastBuildDate>Tue, 12 Jan 2021 09:47:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] wolfssl-4.5.0: make check failed for tests/unit.test]]></title>
			<link>https://www.wolfssl.com/forums/post5704.html#p5704</link>
			<description><![CDATA[<p>Yes, It worked but is it safe to patch a commercial version with the one on open-source.</p>]]></description>
			<author><![CDATA[null@example.com (divyanshu.srivastava)]]></author>
			<pubDate>Tue, 12 Jan 2021 09:47:58 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5704.html#p5704</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] wolfssl-4.5.0: make check failed for tests/unit.test]]></title>
			<link>https://www.wolfssl.com/forums/post5699.html#p5699</link>
			<description><![CDATA[<p>Hi Divyanshu,</p><p>Thanks for contacting wolfSSL!</p><p>It appears that the example certs have expired on January 7, 2021. We have recently addressed the issue. </p><p>Could you please apply the attached pr3641.diff from <a href="https://github.com/wolfSSL/wolfssl/pull/3641">https://github.com/wolfSSL/wolfssl/pull/3641</a> and let me know if it works?</p><p>Try: <br />patch -p1 &lt; pr3641.diff </p><p>Thanks,<br />Tesfa</p>]]></description>
			<author><![CDATA[null@example.com (tmael)]]></author>
			<pubDate>Tue, 12 Jan 2021 00:31:35 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5699.html#p5699</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] wolfssl-4.5.0: make check failed for tests/unit.test]]></title>
			<link>https://www.wolfssl.com/forums/post5691.html#p5691</link>
			<description><![CDATA[<p>Getting an error with <strong>make check</strong></p><p><strong>Note:</strong> I am working on a <strong>Ubuntu-18.04.15 LTS</strong> machine which is present on the cloud, and have logged into it using <strong>VMware-horizon client</strong>.</p><p>Since I am working on the same machine on which I am trying to install <strong>wolfssl-4.5.0-commercial-fips</strong>, so this won&#039;t be an issue In my opinion.</p><p>I have executed the following commands in sequence.</p><div class="codebox"><pre><code>./configure --enable-fips=v2 --enable-jni --enable-debug
make
make check</code></pre></div><p>I have updated the hash </p><div class="codebox"><pre><code>message = In Core Integrity check FIPS error

hash = 8D29242F610EAEA179605BB1A99974EBC72B0ECDB26B483B226A729F36FC82A2

In core integrity hash check failure, copy above hash

into verifyCore[] in fips_test.c and rebuild</code></pre></div><p>inside the <strong>fips_test.c</strong> and then executed <strong>make check</strong> again, getting the error as: -</p><div class="codebox"><pre><code>make check
make -j5  check-am
make[1]: Entering directory &#039;/home/user/Desktop/wolfssl/wolfssl-4.5.0-commercial-fips-linuxv2&#039;
make -j5   testsuite/testsuite.test tests/unit.test   scripts/resume.test scripts/crl-revoked.test   scripts/psk.test  scripts/pkcallbacks.test scripts/tls13.test scripts/external.test scripts/google.test scripts/openssl.test scripts/ocsp.test
make[2]: Entering directory &#039;/home/user/Desktop/wolfssl/wolfssl-4.5.0-commercial-fips-linuxv2&#039;
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Nothing to be done for &#039;scripts/resume.test&#039;.
make[2]: Nothing to be done for &#039;scripts/crl-revoked.test&#039;.
make[2]: Nothing to be done for &#039;scripts/psk.test&#039;.
make[2]: Nothing to be done for &#039;scripts/pkcallbacks.test&#039;.
make[2]: Nothing to be done for &#039;scripts/tls13.test&#039;.
make[2]: Nothing to be done for &#039;scripts/external.test&#039;.
make[2]: Nothing to be done for &#039;scripts/google.test&#039;.
make[2]: Nothing to be done for &#039;scripts/openssl.test&#039;.
make[2]: Nothing to be done for &#039;scripts/ocsp.test&#039;.
make[2]: &#039;tests/unit.test&#039; is up to date.
make[2]: Leaving directory &#039;/home/user/Desktop/wolfssl/wolfssl-4.5.0-commercial-fips-linuxv2&#039;
make -j5  check-TESTS
make[2]: Entering directory &#039;/home/user/Desktop/wolfssl/wolfssl-4.5.0-commercial-fips-linuxv2&#039;
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[3]: Entering directory &#039;/home/user/Desktop/wolfssl/wolfssl-4.5.0-commercial-fips-linuxv2&#039;
make[3]: warning: -jN forced in submake: disabling jobserver mode.
PASS: scripts/external.test
PASS: scripts/openssl.test
PASS: scripts/resume.test
PASS: scripts/psk.test
PASS: scripts/google.test
PASS: scripts/crl-revoked.test
PASS: scripts/pkcallbacks.test
PASS: scripts/ocsp.test
PASS: testsuite/testsuite.test
./build-aux/test-driver: line 107: 18917 Aborted                 (core dumped) &quot;$@&quot; &gt; $log_file 2&gt;&amp;1
FAIL: tests/unit.test
PASS: scripts/tls13.test
============================================================================
Testsuite summary for wolfssl 4.5.0
============================================================================
# TOTAL: 11
# PASS:  10
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to https://github.com/wolfssl/wolfssl/issues
============================================================================
Makefile:5609: recipe for target &#039;test-suite.log&#039; failed
make[3]: *** [test-suite.log] Error 1
make[3]: Leaving directory &#039;/home/user/Desktop/wolfssl/wolfssl-4.5.0-commercial-fips-linuxv2&#039;
Makefile:5715: recipe for target &#039;check-TESTS&#039; failed
make[2]: *** [check-TESTS] Error 2
make[2]: Leaving directory &#039;/home/user/Desktop/wolfssl/wolfssl-4.5.0-commercial-fips-linuxv2&#039;
Makefile:5937: recipe for target &#039;check-am&#039; failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory &#039;/home/user/Desktop/wolfssl/wolfssl-4.5.0-commercial-fips-linuxv2&#039;
Makefile:5940: recipe for target &#039;check&#039; failed
make: *** [check] Error 2</code></pre></div><p>with the <strong>test-suite.log</strong> having the error as: -</p><div class="codebox"><pre><code>wolfSSL Entering wolfSSL_ASN1_STRING_free
    Freeing der CA
        OK Freeing der CA
wolfSSL Leaving AddCA, return -151
   Error in Cert in Chain
wolfSSL Leaving wolfSSL_CTX_load_verify_buffer_ex, return -151
FAIL tests/unit.test (exit status: 134)</code></pre></div><p>the full log is attached here as an attachment.</p><p>Can someone help me with this?</p>]]></description>
			<author><![CDATA[null@example.com (divyanshu.srivastava)]]></author>
			<pubDate>Mon, 11 Jan 2021 08:23:17 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5691.html#p5691</guid>
		</item>
	</channel>
</rss>
