From e35ef3b83ea79e8fca049c8bd40c141b57ee04b9 Mon Sep 17 00:00:00 2001 From: Joe Conigliaro Date: Wed, 21 Aug 2019 18:37:45 +1000 Subject: [PATCH] tls_ctx was definded before TlsContext --- thirdparty/vschannel/vschannel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thirdparty/vschannel/vschannel.c b/thirdparty/vschannel/vschannel.c index 8af5d55e43..4cc5f02e56 100644 --- a/thirdparty/vschannel/vschannel.c +++ b/thirdparty/vschannel/vschannel.c @@ -11,7 +11,6 @@ DWORD protocol = 0; ALG_ID aid_key_exch = 0; -struct TlsContext tls_ctx; // TODO: joe-c // socket / tls ctx struct TlsContext { @@ -32,6 +31,8 @@ struct TlsContext { PCCERT_CONTEXT p_pemote_cert_context; }; +struct TlsContext tls_ctx; + struct TlsContext new_tls_context() { return (struct TlsContext) { .cert_store = NULL,