some TLS work.

This commit is contained in:
Brad Arant committed 2025-01-28 16:26:40 -08:00
1 parent f9c12f4ba2
commit df0e7cd6da
8 files changed
+85 -42

No files matched your search

+9 -2
View File
@@ -2,6 +2,7 @@
#define __TLS_h__
#include "ZString.h"
#include "TLSInfo.h"
#include <openssl/ssl.h>
namespace core {
@@ -17,12 +18,18 @@ namespace core {
public:
///
///
///
TLS();
///
/// Use this constructor when the SSL context needs to be created as when opening
/// a server TCPSocket.
///
TLS();
TLS(TLSInfo *tlsInfo);
///
/// Use this constructor on creation of a new TCPSocket that needs access to
@@ -37,7 +44,7 @@ namespace core {
~TLS();
void createContext();
void createContext(TLSInfo *tlsInfo);
SSL_CTX *ctx;