From 52ad22de6a52733a9cdf1733f56e524fc078aac8 Mon Sep 17 00:00:00 2001
From: Lee <ler762@users.sourceforge.net>
Date: Thu, 3 Apr 2025 09:52:23 -0400
Subject: [PATCH] windows: add the option to build with openssl

---
 windows/MYconfigure | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/windows/MYconfigure b/windows/MYconfigure
index 3e78fe3a..097196a1 100755
--- a/windows/MYconfigure
+++ b/windows/MYconfigure
@@ -180,6 +180,14 @@ LDFLAGS="${LDFLAGS} -L${lib}"
 LIBS="${LIBS} -lbcrypt"
 #  fixes the  undefined reference to `BCryptGenRandom@16'
 
+
+elif [ "$mitmlib" = "openssl" ]; then
+MITMOPT="--with-openssl"
+
+# OpenSSL
+#   using the cygwin supplied mingw32 openssl library
+
+
 else
   MITMOPT=""
 fi
-- 
2.49.0