1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-26 06:00:00 -05:00

Show TLS version.

This commit is contained in:
XMRig
2018-09-16 06:35:49 +03:00
parent 2f3939396e
commit bc9130ded3
6 changed files with 47 additions and 20 deletions

View File

@@ -39,7 +39,7 @@ public:
bool handshake();
bool send(const char *data, size_t size);
const char *tlsVersion() const;
void read(const char *data, size_t size);
private:
@@ -48,6 +48,7 @@ private:
BIO *m_readBio;
BIO *m_writeBio;
bool m_ready;
char m_buf[1024 * 2];
Client *m_client;
SSL *m_ssl;