Skip to content
Snippets Groups Projects
Commit d921e56d authored by deuce's avatar deuce
Browse files

Work around MSVC error which assumes ssl_context is used without being

initialized (it's not).
parent 696a1dfa
No related branches found
No related tags found
No related merge requests found
...@@ -91,7 +91,7 @@ bool DLLCALL is_crypt_initialized(void) ...@@ -91,7 +91,7 @@ bool DLLCALL is_crypt_initialized(void)
CRYPT_CONTEXT DLLCALL get_ssl_cert(scfg_t *cfg, char estr[SSL_ESTR_LEN]) CRYPT_CONTEXT DLLCALL get_ssl_cert(scfg_t *cfg, char estr[SSL_ESTR_LEN])
{ {
CRYPT_KEYSET ssl_keyset; CRYPT_KEYSET ssl_keyset;
CRYPT_CONTEXT ssl_context; CRYPT_CONTEXT ssl_context = -1;
CRYPT_CERTIFICATE ssl_cert; CRYPT_CERTIFICATE ssl_cert;
int i; int i;
char sysop_email[sizeof(cfg->sys_inetaddr)+6]; char sysop_email[sizeof(cfg->sys_inetaddr)+6];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment