summaryrefslogtreecommitdiff
path: root/ext/openssl
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 /ext/openssl
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
Diffstat (limited to 'ext/openssl')
-rw-r--r--ext/openssl/ossl_digest.c5
1 files changed, 3 insertions, 2 deletions
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.