Feature/ci windows (#163)
* win only * disable ixcrypto mbedtls search on windows * ws cmakefile do not search for openssl * ci builds files on top of cmaking * ci builds files on top of cmaking / syntax tweak * use gha-setup-vsdevenv syntax * build fix and hacks * try to run unittest on win * try to run unittest on win (syntax error) * unittest wip * wip * wip again * wip again (working-directory) * cleanup * dumb compile error
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							44f599747e
						
					
				
				
					commit
					0bb5462504
				
			@@ -14,7 +14,7 @@
 | 
			
		||||
#elif defined(IXCRYPTO_USE_OPEN_SSL)
 | 
			
		||||
# include <openssl/hmac.h>
 | 
			
		||||
#else
 | 
			
		||||
# error "Unsupported configuration"
 | 
			
		||||
# include <assert.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
namespace ix
 | 
			
		||||
@@ -40,7 +40,7 @@ namespace ix
 | 
			
		||||
             (unsigned char *) data.c_str(), (int) data.size(),
 | 
			
		||||
             (unsigned char *) hash, nullptr);
 | 
			
		||||
#else
 | 
			
		||||
#       error "Unsupported configuration"
 | 
			
		||||
        assert(false && "hmac not implemented on this platform");
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
        std::string hashString(reinterpret_cast<char*>(hash), hashSize);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user