<?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 — Can't get cURL with wolfSSL to work]]></title>
		<link>https://www.wolfssl.com/forums/topic2105-cant-get-curl-with-wolfssl-to-work.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic2105.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Can't get cURL with wolfSSL to work.]]></description>
		<lastBuildDate>Fri, 24 May 2024 18:36:47 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Can't get cURL with wolfSSL to work]]></title>
			<link>https://www.wolfssl.com/forums/post7650.html#p7650</link>
			<description><![CDATA[<p>Can you share your error log so I can assist further?<br />We don&#039;t have an example of using Visual Studio to build curl but it should work.</p>]]></description>
			<author><![CDATA[null@example.com (kareem_wolfssl)]]></author>
			<pubDate>Fri, 24 May 2024 18:36:47 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7650.html#p7650</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't get cURL with wolfSSL to work]]></title>
			<link>https://www.wolfssl.com/forums/post7649.html#p7649</link>
			<description><![CDATA[<p>I included it to the user_settings but get a whole set of new errors when trying to build SSL and SSH. This is not working at all and the information on that blog doesn&#039;t say anything about using Visual studio.<br />I think I have to abandon WolfSSL and see if I can get some other library for cURL since the project is stucked here.</p>]]></description>
			<author><![CDATA[null@example.com (SamuelA)]]></author>
			<pubDate>Fri, 24 May 2024 07:12:09 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7649.html#p7649</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't get cURL with wolfSSL to work]]></title>
			<link>https://www.wolfssl.com/forums/post7648.html#p7648</link>
			<description><![CDATA[<p>The definitions go in your project&#039;s user_settings.h.<br />Yes, check out our blog post here: <a href="https://www.wolfssl.com/using-curl-with-wolfssl-and-tls-1-3/">https://www.wolfssl.com/using-curl-with … d-tls-1-3/</a></p>]]></description>
			<author><![CDATA[null@example.com (kareem_wolfssl)]]></author>
			<pubDate>Thu, 23 May 2024 17:25:58 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7648.html#p7648</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't get cURL with wolfSSL to work]]></title>
			<link>https://www.wolfssl.com/forums/post7647.html#p7647</link>
			<description><![CDATA[<p>I have used the latest version, but haven&#039;t had time to check into this more but hope I can soon. So I need to add all these definitions to the preprocessor in Visual Studio?<br />Are there any document or something somethere describing on how to use it with cURL?</p>]]></description>
			<author><![CDATA[null@example.com (SamuelA)]]></author>
			<pubDate>Thu, 23 May 2024 07:05:51 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7647.html#p7647</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't get cURL with wolfSSL to work]]></title>
			<link>https://www.wolfssl.com/forums/post7631.html#p7631</link>
			<description><![CDATA[<p>Hi Samuel,</p><p>What version of wolfSSL are you using?&nbsp; If you aren&#039;t using our latest release 5.7.0, please upgrade.</p><p>HAVE_CURL is not sufficient, you will need multiple other defines as follows:<br /></p><div class="codebox"><pre><code>#define HAVE_TLS_EXTENSIONS
#define HAVE_SNI
#define HAVE_SUPPORTED_CURVES
#define HAVE_FFDHE_2048
#define WOLFSSL_TLS13
#define HAVE_EXTENDED_MASTER
#define NO_RC4
#define HAVE_ENCRYPT_THEN_MAC
#define HAVE_CRL
#define HAVE_CERTIFICATE_STATUS_REQUEST
#define HAVE_CERTIFICATE_STATUS_REQUEST_V2
#define WOLFSSL_ALT_CERT_CHAINS
#define WOLFSSL_IP_ALT_NAME
#define HAVE_SESSION_TICKET
#define NO_SESSION_CACHE_REF
#define WOLFSSL_DES_ECB
#define WOLFSSL_TICKET_NONCE_MALLOC
#define NO_PSK
#define WOLFSSL_ENCRYPTED_KEYS
#define HAVE_DH_DEFAULT_PARAMS
#define WOLFSSL_SYS_CA_CERTS
#define HAVE_OCSP
#define OPENSSL_EXTRA
#define NO_DES3_TLS_SUITES
#define WOLFSSL_PUBLIC_MP
#define HAVE_SERVER_RENEGOTIATION_INFO</code></pre></div><p>Thanks,<br />Kareem</p>]]></description>
			<author><![CDATA[null@example.com (kareem_wolfssl)]]></author>
			<pubDate>Wed, 08 May 2024 18:24:37 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7631.html#p7631</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't get cURL with wolfSSL to work]]></title>
			<link>https://www.wolfssl.com/forums/post7629.html#p7629</link>
			<description><![CDATA[<p>No answer on how to use wolfssl with curl?<br />I found in SSL the macro &quot;HAVE_CURL&quot;, but when I added that to the preprocessor directive I just got new errors</p><p>Alot of:<br />Error&nbsp; &nbsp; C2143&nbsp; &nbsp; syntax error: missing &#039;{&#039; before &#039;*&#039;<br />on lines like:<br />int wolfSSL_MD5_Init(WOLFSSL_MD5_CTX* md5)</p>]]></description>
			<author><![CDATA[null@example.com (SamuelA)]]></author>
			<pubDate>Wed, 08 May 2024 08:31:04 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7629.html#p7629</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't get cURL with wolfSSL to work]]></title>
			<link>https://www.wolfssl.com/forums/post7590.html#p7590</link>
			<description><![CDATA[<p>Hi</p><p>I used the &#039;wolfssl64.sln&#039; file that is included to build SSL. So should I add something to the preprocessor directive?</p>]]></description>
			<author><![CDATA[null@example.com (SamuelA)]]></author>
			<pubDate>Wed, 17 Apr 2024 05:57:07 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7590.html#p7590</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't get cURL with wolfSSL to work]]></title>
			<link>https://www.wolfssl.com/forums/post7589.html#p7589</link>
			<description><![CDATA[<p>Hi Samuel,</p><p>It looks like you are not enabling our OpenSSL compatibility layer when building curl, this implements EVP_MD_CTX and many other OpenSSL types/functions.&nbsp; Please share your build settings for wolfSSL and wolfSSL version.&nbsp; You should be building wolfSSL with --enable-curl to use it with curl.</p><p>Thanks,<br />Kareem</p>]]></description>
			<author><![CDATA[null@example.com (kareem_wolfssl)]]></author>
			<pubDate>Tue, 16 Apr 2024 18:01:57 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7589.html#p7589</guid>
		</item>
		<item>
			<title><![CDATA[Can't get cURL with wolfSSL to work]]></title>
			<link>https://www.wolfssl.com/forums/post7587.html#p7587</link>
			<description><![CDATA[<p>Hi!</p><p>I have been using Curllib for regular ftp transfer but need to make it work for sftp as well. I wanted to use wolfSSL for this and I followed the build instructions on how to build ssl and ssh for Visual studio and that worked without any issue what I can see.</p><p>Now I need to build curllib and I selected &quot;Lib wolfSSL&quot; in the curl visual studion project (I have tried both release and debug, 32 and 64 bit with same result). I setup the include directories so it found the wolf .h files but it wont&#039;t build without errors.</p><p>I get a lot of errors but I think a lot of them depends on these: <br />Error&nbsp; &nbsp; C2027&nbsp; &nbsp; use of undefined type &#039;sha256_ctx&#039;<br />Error&nbsp; &nbsp; C2061&nbsp; &nbsp; syntax error: identifier &#039;EVP_MD_CTX&#039;</p><p>The error comes from these lines in sha256.c</p><p>#if defined(<strong>USE_OPENSSL_SHA256</strong>)</p><p>struct sha256_ctx {<br />&nbsp; <strong>EVP_MD_CTX</strong> *openssl_ctx;<br />}; is not defined </p><p>I found <strong>EVP_MD_CTX</strong> in the file &#039;compat_types.h&#039; but that file is not referenced anywere in the project.</p><p>so its is strange that <strong>USE_OPENSSL_SHA256</strong> is defined since that will create errors.</p><p>#ifdef USE_WOLFSSL<br />#include &lt;wolfssl/options.h&gt;<br />#ifndef NO_SHA256<br />#define USE_OPENSSL_SHA256<br />#endif<br />#endif</p><p><strong>USE_OPENSSL_SHA256</strong> is defined since <strong>NO_SHA256</strong> is NOT, but defining it created just a whole lot of other errors so defining it wasn&#039;t the solution.</p><p>So I&#039;m stuck at the moment since I can&#039;t find any information regarding how to solve this.</p>]]></description>
			<author><![CDATA[null@example.com (SamuelA)]]></author>
			<pubDate>Tue, 16 Apr 2024 13:41:38 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7587.html#p7587</guid>
		</item>
	</channel>
</rss>
