<?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 — cURL]]></title>
		<link>https://www.wolfssl.com/forums/</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-forum12.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent topics at wolfSSL - Embedded SSL Library.]]></description>
		<lastBuildDate>Mon, 16 Dec 2024 18:23:08 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Minimal possible build for tinycurl]]></title>
			<link>https://www.wolfssl.com/forums/topic2248-minimal-possible-build-for-tinycurl-new-posts.html</link>
			<description><![CDATA[<p>Hi, anyone got build options list that would allow at least something similar to &quot;100k&quot; from the release news?<br />I cant get even beyond 300 kilobytes for static library (which results in +200k to a tinycurl, which is already 220k in the smallest possible build)</p><p>So best case curl with libcurl and wolfssl embedded is 440k, which is extremely far from the &quot;100k&quot;</p><p>Trying on tinycurl 7.79.1 and wolfssl around 5.x</p>]]></description>
			<author><![CDATA[null@example.com (de2)]]></author>
			<pubDate>Mon, 16 Dec 2024 18:23:08 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic2248-minimal-possible-build-for-tinycurl-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[libcurl not linking properly in vscode with msvc 2022]]></title>
			<link>https://www.wolfssl.com/forums/topic2186-libcurl-not-linking-properly-in-vscode-with-msvc-2022-new-posts.html</link>
			<description><![CDATA[<p>I&#039;m trying to use libcurl in vscode with the MSVC 2022 compiler and linker but im getting a lot of linking errors. I am a noob so I probably did a dumb mistake.</p><br /><p>I first built libcurl from source code using the x64 VS tools command prompt with the following command:</p><p>nmake /f Makefile.vc mode=static</p><br /><p>I got a libcurl_a.lib file and some include headers so I added those to my project with the code:</p><p>#include &lt;stdio.h&gt;</p><p>#include &lt;stdlib.h&gt;</p><p>#include &lt;string.h&gt;</p><p>#include &lt;conio.h&gt;</p><p>#include &quot;curl\curl.h&quot;</p><br /><p>I then launched vscode from x64 VS tools and used the following command:</p><p>cl /std:c17 /Iinclude src/main.c /link /LIBPATH:lib <a href="https://geometrydashbreeze.com"><span style="color: white">geometry dash breeze</span></a></p><br /><p>Instead of it giving me an exe, I got a bunch of unresolved external symbol errors and the obj file.</p><br /><p>My libcurl_a.lib file is in the lib folder, all the headers are in the include\curl folder, and main.c is in the src folder.</p><br /><p>Here&#039;s the output:</p><p>Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32822 for x64</p><p>Copyright (C) Microsoft Corporation. All rights reserved.</p><br /><p>main.c</p><p>Microsoft (R) Incremental Linker Version 14.37.32822.0</p><p>Copyright (C) Microsoft Corporation. All rights reserved.</p><br /><p>/out:main.exe</p><p>/LIBPATH:lib</p><p>main.obj</p><p>main.obj : error LNK2019: unresolved external symbol curl_global_init referenced in function main</p><p>main.obj : error LNK2019: unresolved external symbol curl_global_cleanup referenced in function main</p><p>main.obj : error LNK2019: unresolved external symbol curl_easy_init referenced in function main</p><p>main.obj : error LNK2019: unresolved external symbol curl_easy_cleanup referenced in function main</p><p>main.exe : fatal error LNK1120: 4 unresolved externals</p><br /><p>I&#039;ve tried putting #define CURL_STATICLIB and #pragma comment(lib, &quot;lib\libcurl_a.lib&quot;) but those don&#039;t fix it either.</p>]]></description>
			<author><![CDATA[null@example.com (Andids)]]></author>
			<pubDate>Mon, 07 Oct 2024 10:19:36 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic2186-libcurl-not-linking-properly-in-vscode-with-msvc-2022-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Can't get cURL with wolfSSL to work]]></title>
			<link>https://www.wolfssl.com/forums/topic2105-cant-get-curl-with-wolfssl-to-work-new-posts.html</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/topic2105-cant-get-curl-with-wolfssl-to-work-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Curl with Wolf connect problems]]></title>
			<link>https://www.wolfssl.com/forums/topic1780-curl-with-wolf-connect-problems-new-posts.html</link>
			<description><![CDATA[<p>Trying wolf with curl:<br />curl-7.76.0<br />wolfssl-4.8.0<br />Building all with Visual Studio 2010, v100 toolset.</p><p>Using certs from:<br /> <a href="https://curl.se/docs/caextract.html">https://curl.se/docs/caextract.html</a><br />renamed to:<br /> cacert.pem</p><p>In the app using curl, the curl log reports:<br /></p><div class="codebox"><pre><code> Trying 40.112.72.205:443...
 Connected to microsoft.com (40.112.72.205) port 443 (#0)
 successfully set certificate verify locations:
 CAfile: D:\Programming(D)\Workspaces\VS_2010 Workspaces\CurlLibTest\Curl_Local\bin\cacert.pem
 CApath: none
 subject alt name(s) or common name do not match &quot;microsoft.com&quot;
 Closing connection 0</code></pre></div><p>Going back to the wolfssl project to see if it works, and trying the client.exe app with:<br /></p><div class="codebox"><pre><code> client.exe -h google.com -p 443 -a cacert.pem
  wolfSSL_connect error -188, ASN no signer error to confirm failure
  wolfSSL error: wolfSSL_connect failed</code></pre></div><p>Im using the default user_settings.h file from the IDE/WIN folder, and:<br />I do not see FIPS defined anywhere.<br />Current new options added:<br /></p><div class="codebox"><pre><code> #define OPENSSL_EXTRA
 #define WOLFSSL_DES_ECB        // for wolfSSL_DES_ecb_encrypt() used by curl
 #define WOLFSSL_ALT_CERT_CHAINS    // test fix client app connect - no fix</code></pre></div><p>And have tried most all options from user_settings_all.h with no luck.</p><p>I&#039;m assuming if I can get client.exe to work with certs, I can get curl to work.<br />Note calling:<br /></p><div class="codebox"><pre><code> client.exe -h google.com -p 443 -d  
and
 client.exe -h example.com -p 443 -d -g </code></pre></div><p>works fine.</p><p>Also, the curl app with openssl works fine. I&#039;m trying to get away from openssl.</p><br /><p>Any suggestions?</p><p>Thanks,</p>]]></description>
			<author><![CDATA[null@example.com (gary)]]></author>
			<pubDate>Fri, 16 Jul 2021 18:58:13 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic1780-curl-with-wolf-connect-problems-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Announcing tiny-curl!]]></title>
			<link>https://www.wolfssl.com/forums/topic1390-announcing-tinycurl-new-posts.html</link>
			<description><![CDATA[<p>wolfSSL has been working with Daniel Stenberg to create tiny-curl, a lightweight version of the cURL library which has a much smaller footprint than the full featured library.&nbsp; This will be ideal for embedded or resource constrained users who want to use cURL in their projects!</p><p>Full details can be found on Daniel&#039;s blog [1].&nbsp; As Daniel mentions in this blog post:</p><div class="quotebox"><blockquote><p>Instead of being happy with getting told that curl is “too big” for certain use cases, I set a goal for myself: make it possible to build a version of curl that can do HTTPS and fit in 100K (including the wolfSSL TLS library) on a typical 32 bit architecture.</p><p>As a comparison, the tiny-curl shared library when built on an x86-64 Linux, is smaller than 25% of the size as the default Debian shipped library is.</p></blockquote></div><p>tiny-curl can be downloaded from the wolfSSL download page [2] today!&nbsp; Please email us at <a href="mailto:support@wolfssl.com">support@wolfssl.com</a> with any questions or commercial support inquiries.</p><p>[1] <a href="https://daniel.haxx.se/blog/2019/05/11/tiny-curl/">https://daniel.haxx.se/blog/2019/05/11/tiny-curl/</a><br />[2] <a href="https://www.wolfssl.com/download/">https://www.wolfssl.com/download/</a></p>]]></description>
			<author><![CDATA[null@example.com (chrisc)]]></author>
			<pubDate>Thu, 06 Jun 2019 21:51:05 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic1390-announcing-tinycurl-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[cURL Commercial Support]]></title>
			<link>https://www.wolfssl.com/forums/topic1389-curl-commercial-support-new-posts.html</link>
			<description><![CDATA[<p><strong>wolfSSL offers commercial support for cURL!</strong></p><p>The wolfSSL embedded SSL/TLS library comes with support for many tools and libraries, one of which is cURL (<a href="https://curl.haxx.se/">https://curl.haxx.se/</a>). cURL is a software project that produces two products (libcurl and curl), used for transferring data using various protocols. wolfSSL is happy to announce that we are now offering <strong>commercial support and maintenance for cURL</strong>!&nbsp; In addition, Daniel Stenberg (an original author of cURL and one of the founders) is now part of the wolfSSL team.</p><p>If you are interested in learning more about commercial cURL support from wolfSSL, please contact us at <a href="mailto:facts@wolfssl.com">facts@wolfssl.com</a>.</p><p>Best Regards,<br />Chris</p><p><a href="https://www.wolfssl.com/wolfssl-integration-with-curltinycurl/">https://www.wolfssl.com/wolfssl-integra … ltinycurl/</a></p>]]></description>
			<author><![CDATA[null@example.com (chrisc)]]></author>
			<pubDate>Thu, 06 Jun 2019 21:41:49 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic1389-curl-commercial-support-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Welcome]]></title>
			<link>https://www.wolfssl.com/forums/topic1388-welcome-new-posts.html</link>
			<description><![CDATA[<p>Welcome to wolfSSL&#039;s cURL / libcurl / tinycurl forum.&nbsp; Please submit any questions, comments, feature requests, or anything else related to cURL here.</p><p>Did you know that wolfSSL provides commercial support for cURL?&nbsp; Learn more here:</p><p><a href="https://www.wolfssl.com/products/curl/">https://www.wolfssl.com/products/curl/</a></p><p>Best Regards,<br />Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrisc)]]></author>
			<pubDate>Thu, 06 Jun 2019 21:33:19 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic1388-welcome-new-posts.html</guid>
		</item>
	</channel>
</rss>
