void-packages/srcpkgs/wfuzz/patches/remove-libressl-warning.patch

17 lines
751 B
Diff

diff --git src/wfuzz/__init__.py src/wfuzz/__init__.py
index 05f04af..7e8a4a8 100644
--- a/src/wfuzz/__init__.py
+++ b/src/wfuzz/__init__.py
@@ -30,9 +30,9 @@ warnings.formatwarning = warning_on_one_line
try:
import pycurl
- if "openssl".lower() not in pycurl.version.lower():
+ if "ssl".lower() not in pycurl.version.lower():
warnings.warn(
- "Pycurl is not compiled against Openssl. Wfuzz might not work correctly when fuzzing SSL sites. Check Wfuzz's documentation for more information."
+ "Pycurl is not compiled against Open- or LibreSSL. Wfuzz might not work correctly when fuzzing SSL sites. Check Wfuzz's documentation for more information."
)
if not hasattr(pycurl, "CONNECT_TO"):