Skip to content

Commit

Permalink
Fix the bug with the SSL context
Browse files Browse the repository at this point in the history
  • Loading branch information
grkek committed May 5, 2021
1 parent ed5b619 commit 15f128c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: grip
version: 1.0.0
version: 1.0.1

authors:
- Grip and its Contributors <https://github.com/grip-framework/>
Expand All @@ -21,4 +21,3 @@ development_dependencies:
crystal: ">= 0.36.0"

license: MIT

5 changes: 1 addition & 4 deletions src/grip/application.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 15f128c

Please sign in to comment.