diff --git a/src/proxy/tinymitm/proxy.h b/src/proxy/tinymitm/proxy.h index 6100b4a..e012d9b 100644 --- a/src/proxy/tinymitm/proxy.h +++ b/src/proxy/tinymitm/proxy.h @@ -36,7 +36,7 @@ struct TinyMITMConfig std::string caKeyPath = "ca.key"; std::string caName = "TinyMITM-CA"; - int certDays = 365; + int caDays = 365; bool autoGenerateCA = true; @@ -100,7 +100,6 @@ class TinyMITMProxy static bool doHandshake(WOLFSSL* ssl, SOCKET socket, bool isAccept); - SOCKET _listenSocket = 0; std::atomic _running = false;