summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-03-11 10:43:34 -0500
committerOmar Roth <omarroth@hotmail.com>2018-03-11 10:43:34 -0500
commit496a8bf67beb4e8147034d2cd0bb8e6c9baec9f2 (patch)
treeea6ceef4d067d23bc8509dd726ecbd9cb1d1b47d
parent6795c183af104994caa25e4ab24e7786a3d0c0c7 (diff)
downloadinvidious-496a8bf67beb4e8147034d2cd0bb8e6c9baec9f2.tar.gz
invidious-496a8bf67beb4e8147034d2cd0bb8e6c9baec9f2.tar.bz2
invidious-496a8bf67beb4e8147034d2cd0bb8e6c9baec9f2.zip
Verify SSL certificates
-rw-r--r--src/helpers.cr1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/helpers.cr b/src/helpers.cr
index 784306c2..ec07b6c1 100644
--- a/src/helpers.cr
+++ b/src/helpers.cr
@@ -257,7 +257,6 @@ end
def make_client(url)
context = OpenSSL::SSL::Context::Client.new
- context.verify_mode = OpenSSL::SSL::VerifyMode::NONE
context.add_options(
OpenSSL::SSL::Options::ALL |
OpenSSL::SSL::Options::NO_SSL_V2 |