From 15f128c2a415b5c3a8d7db1e61800fab060eeb16 Mon Sep 17 00:00:00 2001 From: Giorgi Kavrelishvili Date: Wed, 5 May 2021 07:25:50 +0400 Subject: [PATCH] Fix the bug with the SSL context --- shard.yml | 3 +-- src/grip/application.cr | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/shard.yml b/shard.yml index e42b1b3..b84093a 100644 --- a/shard.yml +++ b/shard.yml @@ -1,5 +1,5 @@ name: grip -version: 1.0.0 +version: 1.0.1 authors: - Grip and its Contributors @@ -21,4 +21,3 @@ development_dependencies: crystal: ">= 0.36.0" license: MIT - diff --git a/src/grip/application.cr b/src/grip/application.cr index 4daac4c..e96a87d 100644 --- a/src/grip/application.cr +++ b/src/grip/application.cr @@ -138,10 +138,7 @@ module Grip end {% else %} def ssl : OpenSSL::SSL::Context::Server - context = - Grip::Ssl - .new - .context + context = OpenSSL::SSL::Context::Server.new context .private_key = key_file