From 105f8b6df01778d1df4ef5bad5491e159818c331 Mon Sep 17 00:00:00 2001 From: neru Date: Sat, 11 Apr 2026 11:13:18 -0300 Subject: [PATCH] fix: remove unneeded ssl include, rename for future changes --- src/unlocker/{cert_manager.cpp => ssl.cpp} | 2 +- src/unlocker/{cert_manager.h => ssl.h} | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) rename src/unlocker/{cert_manager.cpp => ssl.cpp} (99%) rename src/unlocker/{cert_manager.h => ssl.h} (71%) diff --git a/src/unlocker/cert_manager.cpp b/src/unlocker/ssl.cpp similarity index 99% rename from src/unlocker/cert_manager.cpp rename to src/unlocker/ssl.cpp index 15a3eda..0b97977 100644 --- a/src/unlocker/cert_manager.cpp +++ b/src/unlocker/ssl.cpp @@ -1,4 +1,4 @@ -#include "cert_manager.h" +#include "ssl.h" #include #include #include diff --git a/src/unlocker/cert_manager.h b/src/unlocker/ssl.h similarity index 71% rename from src/unlocker/cert_manager.h rename to src/unlocker/ssl.h index 316d1c6..ccfcf02 100644 --- a/src/unlocker/cert_manager.h +++ b/src/unlocker/ssl.h @@ -3,7 +3,16 @@ #include #include #include -#include + +struct x509_st; +struct ssl_st; +struct ssl_ctx_st; +struct evp_pkey_st; + +typedef struct x509_st X509; +typedef struct ssl_st SSL; +typedef struct ssl_ctx_st SSL_CTX; +typedef struct evp_pkey_st EVP_PKEY; class CertManager {