summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremboss <emboss@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-21 22:55:48 +0000
committeremboss <emboss@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-21 22:55:48 +0000
commit3c25546ba288ef859ded3f9737464de3331107a1 (patch)
tree610f96da4aae09ac396744ecfc772e9dd8f4c62e
parentaffb9cfbc877896201536cb9abcda6e9f11f0bb5 (diff)
* 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
-rw-r--r--ChangeLog4
-rw-r--r--ext/openssl/ossl_digest.c5
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 <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.
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.