From 3c25546ba288ef859ded3f9737464de3331107a1 Mon Sep 17 00:00:00 2001 From: emboss Date: Sat, 21 May 2011 22:55:48 +0000 Subject: * 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 --- ChangeLog | 4 ++++ ext/openssl/ossl_digest.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ee53f0f67a..af38567b74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun May 22 07:54:16 2011 Martin Bosslet + + * ext/openssl/ossl_digest.c: Explain DSS and DSS1 in documentation. + Sun May 22 07:10:25 2011 Martin Bosslet * test/openssl/test_pkey_dsa.rb: Add tests for sign/verify. diff --git a/ext/openssl/ossl_digest.c b/ext/openssl/ossl_digest.c index c1678339da..346b6cfe14 100644 --- a/ext/openssl/ossl_digest.c +++ b/ext/openssl/ossl_digest.c @@ -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. -- cgit v1.2.3