Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Add SHA1_DIGEST_STRING_LENGTH.



details:   https://anonhg.NetBSD.org/src/rev/3e67bef66636
branches:  trunk
changeset: 584585:3e67bef66636
user:      elad <elad%NetBSD.org@localhost>
date:      Sat Sep 24 17:09:06 2005 +0000

description:
Add SHA1_DIGEST_STRING_LENGTH.

diffstat:

 sys/sys/sha1.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r fa9f27050780 -r 3e67bef66636 sys/sys/sha1.h
--- a/sys/sys/sha1.h    Sat Sep 24 17:05:21 2005 +0000
+++ b/sys/sys/sha1.h    Sat Sep 24 17:09:06 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sha1.h,v 1.7 2005/08/20 14:54:06 kleink Exp $  */
+/*     $NetBSD: sha1.h,v 1.8 2005/09/24 17:09:06 elad Exp $    */
 
 /*
  * SHA-1 in C
@@ -12,7 +12,8 @@
 #include <sys/cdefs.h>
 #include <sys/types.h>
 
-#define SHA1_DIGEST_LENGTH 20
+#define SHA1_DIGEST_LENGTH             20
+#define SHA1_DIGEST_STRING_LENGTH      40
 
 typedef struct {
        u_int32_t state[5];



Home | Main Index | Thread Index | Old Index