Remove OpenSSL::Digest monkeypatch

parent a8891a43
Pipeline #229 passed with stage
in 1 minute and 3 seconds
require "./activity" require "./activity"
require "./deliver_worker" require "./deliver_worker"
# Monkeypatch in fix for OpenSSL::Digest on multibyte strings
class OpenSSL::Digest
def update(data : String | Slice)
LibCrypto.evp_digestupdate(self, data, data.bytesize)
self
end
end
class InboxHandler class InboxHandler
class Error < Exception class Error < Exception
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment