mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tls_ctx was definded before TlsContext
This commit is contained in:
parent
453f3020c3
commit
e35ef3b83e
3
thirdparty/vschannel/vschannel.c
vendored
3
thirdparty/vschannel/vschannel.c
vendored
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user