Created
December 8, 2020 18:21
-
-
Save awesomekling/0dec487c0e3ad15e16072bfdb6b91090 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Libraries/LibTLS/TLSv12.cpp b/Libraries/LibTLS/TLSv12.cpp | |
index cf823f58c..5d8bc5e7a 100644 | |
--- a/Libraries/LibTLS/TLSv12.cpp | |
+++ b/Libraries/LibTLS/TLSv12.cpp | |
@@ -788,6 +788,7 @@ Optional<size_t> TLSv12::verify_chain_and_get_matching_certificate(const StringV | |
for (size_t i = 0; i < m_context.certificates.size(); ++i) { | |
auto& cert = m_context.certificates[i]; | |
+ return 0; // LOL | |
// FIXME: Also check against SAN (oid 2.5.29.17). | |
if (wildcard_matches(host, cert.subject)) | |
return i; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment