void-packages/srcpkgs/wfuzz/patches/remove-libressl-warning.patch
2020-09-01 19:53:56 -05:00

16 lines
747 B
Diff

diff --git src/wfuzz/__init__.py src/wfuzz/__init__.py
index 05f04af..7e8a4a8 100644
--- src/wfuzz/__init__.py
+++ 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"):