Ok, with using VS 2015 there are a lot of errors gone.
Bute now, I got the following errors:
1>------ Build started: Project: OCSInventory Front, Configuration: Release Win32 ------
1> OcsUtils.cpp
1>OcsUtils.cpp(384): error C2079: 'ctx' uses undefined struct 'evp_md_ctx_st'
1>OcsUtils.cpp(393): error C2664: 'int EVP_DigestInit(EVP_MD_CTX *,const EVP_MD *)': cannot convert argument 1 from 'int *' to 'EVP_MD_CTX *'
1> OcsUtils.cpp(393): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>OcsUtils.cpp(399): error C2664: 'int EVP_DigestUpdate(EVP_MD_CTX *,const void *,std::size_t)': cannot convert argument 1 from 'int *' to 'EVP_MD_CTX *'
1> OcsUtils.cpp(399): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>OcsUtils.cpp(403): error C2664: 'int EVP_DigestFinal(EVP_MD_CTX *,unsigned char *,unsigned int *)': cannot convert argument 1 from 'int *' to 'EVP_MD_CTX *'
1> OcsUtils.cpp(403): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>OcsUtils.cpp(419): warning C4477: 'swscanf' : format string '%c' requires an argument of type 'wchar_t *', but variadic argument 1 has type 'DWORD_PTR *'
1>OcsUtils.cpp(419): warning C4474: 'swscanf' : too many arguments passed for format string
1> OcsUtils.cpp(419): note: placeholders and their parameters expect 1 variadic arguments, but 2 were provided
1>OcsUtils.cpp(447): warning C4477: 'swscanf' : format string '%2X' requires an argument of type 'unsigned int *', but variadic argument 1 has type 'BYTE *'
1> OcsUtils.cpp(447): note: consider using '%hhX' in the format string
2>------ Build started: Project: ComHTTP, Configuration: Release Win32 ------
3>------ Build started: Project: Download, Configuration: Release Win32 ------
2> HTTPCrypt.cpp
3>LINK : fatal error LNK1181: cannot open input file 'C:\Users\ds\Downloads\WindowsAgent-master\WindowsAgent-master\Release\OCSInventory Front.lib'
2>HTTPCrypt.cpp(124): error C2079: 'oEncCtx' uses undefined struct 'evp_cipher_ctx_st'
2>HTTPCrypt.cpp(156): error C2664: 'int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'
2> HTTPCrypt.cpp(156): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>HTTPCrypt.cpp(157): error C2664: 'int EVP_EncryptInit_ex(EVP_CIPHER_CTX *,const EVP_CIPHER *,ENGINE *,const unsigned char *,const unsigned char *)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'
2> HTTPCrypt.cpp(157): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>HTTPCrypt.cpp(174): error C2664: 'int EVP_EncryptUpdate(EVP_CIPHER_CTX *,unsigned char *,int *,const unsigned char *,int)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'
2> HTTPCrypt.cpp(174): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>HTTPCrypt.cpp(184): error C2664: 'int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *,unsigned char *,int *)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'
2> HTTPCrypt.cpp(184): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>HTTPCrypt.cpp(203): error C2664: 'int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'
2> HTTPCrypt.cpp(203): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>HTTPCrypt.cpp(209): error C2079: 'oEncCtx' uses undefined struct 'evp_cipher_ctx_st'
2>HTTPCrypt.cpp(242): error C2664: 'int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'
2> HTTPCrypt.cpp(242): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>HTTPCrypt.cpp(243): error C2664: 'int EVP_DecryptInit_ex(EVP_CIPHER_CTX *,const EVP_CIPHER *,ENGINE *,const unsigned char *,const unsigned char *)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'
2> HTTPCrypt.cpp(243): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>HTTPCrypt.cpp(260): error C2664: 'int EVP_DecryptUpdate(EVP_CIPHER_CTX *,unsigned char *,int *,const unsigned char *,int)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'
2> HTTPCrypt.cpp(260): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>HTTPCrypt.cpp(270): error C2664: 'int EVP_DecryptFinal_ex(EVP_CIPHER_CTX *,unsigned char *,int *)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'
2> HTTPCrypt.cpp(270): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>HTTPCrypt.cpp(283): error C2664: 'int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'
2> HTTPCrypt.cpp(283): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
4>------ Build started: Project: Agent, Configuration: Release Win32 ------
4>LINK : fatal error LNK1181: cannot open input file 'C:\Users\ds\Downloads\WindowsAgent-master\WindowsAgent-master\Release\ComHTTP.lib'
========== Build: 0 succeeded, 4 failed, 2 up-to-date, 0 skipped ==========
Looks to me that the Agent can't be ever built with this source.
Unfortunately I don't have any clue about c++....
Is there a help anywhere?