* ext/openssl/ossl_digest.c: Explain DSS and DSS1 in documentation.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
emboss 2011-05-21 22:55:48 +00:00
Родитель affb9cfbc8
Коммит 3c25546ba2
2 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@ -1,3 +1,7 @@
Sun May 22 07:54:16 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_digest.c: Explain DSS and DSS1 in documentation.
Sun May 22 07:10:25 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* test/openssl/test_pkey_dsa.rb: Add tests for sign/verify.

Просмотреть файл

@ -318,10 +318,11 @@ Init_ossl_digest()
* and verify that it is equal to that in the signature.
*
* Among the supported message digest algorithms are:
* * DSS, DSS1
* * SHA, SHA1, SHA224, SHA256, SHA384 and SHA512
* * MD2, MD4, MDC2 and MD5
* * RIPEMD160
* * SHA, SHA1, SHA224, SHA256, SHA384 and SHA512
* * DSS, DSS1 (Pseudo algorithms to be used for DSA signatures. DSS is
* equal to SHA and DSS1 is equal to SHA1)
*
* For each of these algorithms, there is a sub-class of Digest that
* can be instantiated as simply as e.g.