X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet.h;h=ff32b73c9181e6746240dcc982782800d99fa313;hp=ef21179643951bde428b1285e4747353a65761ef;hb=d273efb177738d429e3cef7d8db8ee5cc8dcada7;hpb=6698f7c390a5ae2f262e30560d9df59f9d5c418d diff --git a/src/net.h b/src/net.h index ef211796..ff32b73c 100644 --- a/src/net.h +++ b/src/net.h @@ -116,7 +116,6 @@ extern bool do_prune; extern bool do_purge; extern char *myport; extern time_t now; -extern EVP_CIPHER_CTX packet_ctx; /* Yes, very strange placement indeed, but otherwise the typedefs get all tangled up */ #include "connection.h" @@ -144,6 +143,8 @@ extern void send_mtu_probe(struct node_t *); #ifndef HAVE_MINGW #define closesocket(s) close(s) +#else +extern CRITICAL_SECTION mutex; #endif #endif /* __TINC_NET_H__ */