src/tools/base_lib/win/CryptoHelperWindows.cpp
@@ -71,6 +71,13 @@ string("Error generating keys ") + to_string(static_cast<long long>(dwErrCode))); } //double check the key is really generated if(m_hCryptKey == NULL) { dwErrCode = GetLastError(); throw logic_error( string("Error generating keys (2)") + to_string(static_cast<long long>(dwErrCode))); } } /* This method calls the CryptExportKey function to get the Public key