Patches: Browse | Submit New | Admin

[#9280] Digest'ifying OpenSSL::Digest

Date:
2007-03-14 12:44
Priority:
3
Submitted By:
Akinori MUSHA (knu)
Assigned To:
Akinori MUSHA (knu)
Category:
Crypto / Digest / Compression
State:
Open
Summary:
Digest'ifying OpenSSL::Digest

Detailed description
This is a patch for trunk and ruby_1_8 that gets OpenSSL::Digest to make use of the Digest framework.

For ruby_1_8, the API is simply extended without introducing incompatibility.

For trunk, OpenSSL::Digest::Digest.new and OpenSSL::Digest::ALGORYTHM.new no longer takes an initial string to feed
just like the Digest interface.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-12-11 14:59
Sender: Roger Pack

feel free to submit a patch to the new bug tracker
[http://redmine.ruby-lang.org/] if this patch still applies.
Thanks!
Date: 2007-03-15 00:26
Sender: Technorama Ltd.

Dropping the "size" method will break any code using
it.

I recommend adding an alias or compatibility function that shows
a warning for 1.8.

Attached Files:

Name Description Download
openssl_digest.patch Download

Changes:

Field Old Value Date By
category_idMisc / Other Standard Library2007-05-30 04:25zenspider
category_idDB / File Formats2007-05-30 03:50zenspider
artifact_group_idNone2007-05-30 03:41zenspider
File Added1576: openssl_digest.patch2007-03-14 12:44knu