
-----------------------------------------------------
-----------------------------------------------------
Curl source code revisions:

10/03/2021 - using curl 7.79.1 - mods are the same.

Change defines to fix build errors due to file paths:

 In curl_ntlm_core.c:
  Change:
  #  include <openssl/des.h>
  #  include <openssl/md5.h>
  #  include <openssl/ssl.h>
  #  include <openssl/rand.h>
  
  To:
  #  include <wolfssl/openssl/des.h>
  #  include <wolfssl/openssl/md5.h>
  #  include <wolfssl/openssl/ssl.h>
  #  include <wolfssl/openssl/rand.h>   

 In curl_ntlm_core.h:
  Change:
  #  include <openssl/ssl.h>
  To:
  #  include <wolfssl/openssl/ssl.h>

or alternatively, add path: 
  ..\..\..\..\..\wolfssl\wolfssl
  to properties-c++-general-Additional Include Directories 
to fix instead.


Wolf uses user_settings.h for ssl options when building from 
the IDE. Curl uses options.h.
In the 3 location below that include options.h, include also 
the wolf user_settings.h.

Change each:
 curl_ntlm_core.h(40):	#  include <wolfssl/options.h>
 curl_ntlm_core.c(55):	#  include <wolfssl/options.h>
 wolfssl.c(35):		#  include <wolfssl/options.h>

To:
 #  include <wolfssl/options.h>
 #  include <IDE/WIN/user_settings.h> 

Curl version:
The MSI installer used by DsLav does not overwrite files 
unless they have a later version.
To change curl's version info, modify both:
 libcurl.rc in curl-7.76.0\lib
 curlver.h in curl-7.76.0\include\curl 

 
------------------------------------------------------
-----------------------------------------------------
Properties Settings:

DLL Debug - DLL Wolfssl:
Properties-linker-general-Additional library directories - for 'wolfssl.lib' location:
  ..\..\..\..\..\wolfssl\DLL Debug
  Use Library dependency inputs - changed to yes - no change

DLL Release - DLL Wolfssl:
Properties-linker-general-Additional library directories - for 'wolfssl.lib' location:
  ..\..\..\..\..\wolfssl\DLL Release  

Note not using above gives error:
  LINK : fatal error LNK1181: cannot open input file 'wolfssl.lib'

Properties-linker-input-Additional Dependencies:
  ws2_32.lib wldap32.lib wolfssl.lib

Tp loose the many 4214 warnings - add 4214 to:
 properties-c++-advanced-disable specific warnings


------------------------------------------------------
------------------------------------------------------
Notes:

The wolfssl folder is wolfssl-4.8.0 renamed.

Building with the libcurl.vcxproj located in the curl-7.76.0\projects\Windows\VC10\lib folder.
This builds only the lib, not the curl.exe.

Building DLLs only, with the VS2010 runtimes (v100 toolset).
Wolf is also a dll build with v100 toolset.
Other builds (static etc.) and other toolsets should work.

Building with the command line is a whole different thing, and it
builds wolfssl in the process. The IDE build which is done here
relies on wolfssl being built separately. I never could get the
command line build to work.





