Skip to content

Commit

Permalink
Merge pull request #1872 from davydovanton/doc-openssl-typo
Browse files Browse the repository at this point in the history
Fix typo in raise message in OpenSSL::create_evp_mt_ctx
  • Loading branch information
asterite committed Nov 5, 2015
2 parents 13f056d + 4dc2560 commit 418c07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openssl/digest/digest.cr
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module OpenSSL
protected def self.create_evp_mt_ctx(name)
md = LibCrypto.evp_get_digestbyname(name)
unless md
raise UnsupportedError.new("Unsupported digest algoritm: #{name}")
raise UnsupportedError.new("Unsupported digest algorithm: #{name}")
end
ctx = LibCrypto.evp_md_ctx_create
unless ctx
Expand Down

0 comments on commit 418c07d

Please sign in to comment.