-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ext/openssl/ossl_digest.c (GetDigestPtr): Allow to pass the
OpenSSL::Digest class in place of where either an instance of the class or the algorithm name was demanded. For example, OpenSSL::HMAC.digest(OpenSSL::Digest::SHA1, key, data) is now accepted as well as the usual OpenSSL::HMAC.digest(OpenSSL::Digest::SHA1.new, key, data) and OpenSSL::HMAC.digest("SHA1", key, data). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- Loading branch information
Showing
2 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
Wed Feb 24 00:50:09 2010 Akinori MUSHA <[email protected]> | ||
|
||
* ext/openssl/ossl_digest.c (GetDigestPtr): Allow to pass the | ||
OpenSSL::Digest class in place of where either an instance of | ||
the class or the algorithm name was demanded. For example, | ||
OpenSSL::HMAC.digest(OpenSSL::Digest::SHA1, key, data) is now | ||
accepted as well as the usual | ||
OpenSSL::HMAC.digest(OpenSSL::Digest::SHA1.new, key, data) and | ||
OpenSSL::HMAC.digest("SHA1", key, data). | ||
|
||
Wed Feb 24 00:39:17 2010 Yusuke Endoh <[email protected]> | ||
|
||
* string.c (str_new_empty): String#split, partition, rpartition | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters