[tor-commits] [tor/master] Fix crypto_hmac_sha256 documentation comment

nickm at torproject.org nickm at torproject.org
Mon Feb 20 17:51:11 UTC 2012


commit cd029f0ca364c6b39c9774fbe337d3a85d7cb40b
Author: Robert Ransom <rransom.8774 at gmail.com>
Date:   Mon Feb 6 02:29:48 2012 -0800

    Fix crypto_hmac_sha256 documentation comment
---
 src/common/crypto.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/crypto.c b/src/common/crypto.c
index 380dcf0..41f81eb 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -1716,8 +1716,8 @@ crypto_hmac_sha1(char *hmac_out,
 }
 
 /** Compute the HMAC-SHA-256 of the <b>msg_len</b> bytes in <b>msg</b>, using
- * the <b>key</b> of length <b>key_len</b>.  Store the DIGEST_LEN-byte result
- * in <b>hmac_out</b>.
+ * the <b>key</b> of length <b>key_len</b>.  Store the DIGEST256_LEN-byte
+ * result in <b>hmac_out</b>.
  */
 void
 crypto_hmac_sha256(char *hmac_out,



More information about the tor-commits mailing list