1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-16 00:03:45 +00:00

1. Updated ALPN support to work better with NodeJS 6.0.0

2. Added servername property on tls.socket
This commit is contained in:
Bryan Roe
2021-02-04 20:06:53 -08:00
parent 6f28cdb484
commit 19e7d9e876
5 changed files with 95 additions and 35 deletions

View File

@@ -2256,6 +2256,10 @@ SSL_CTX *ILibAsyncSocket_GetSSLContext(ILibAsyncSocket_SocketModule socketModule
struct ILibAsyncSocketModule* module = (struct ILibAsyncSocketModule*)socketModule;
return module->ssl_ctx;
}
SSL* ILibAsyncSocket_GetSSL(ILibAsyncSocket_SocketModule socketModule)
{
return(((ILibAsyncSocketModule*)socketModule)->ssl);
}
#endif