Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/lib/libc/hash Pull up revision 1.7 (requested by kleink):
details: https://anonhg.NetBSD.org/src/rev/414b059df4a6
branches: netbsd-1-5
changeset: 491032:414b059df4a6
user: he <he%NetBSD.org@localhost>
date: Fri Mar 30 22:45:55 2001 +0000
description:
Pull up revision 1.7 (requested by kleink):
Fix printf format used in example, fixes PR#12496.
diffstat:
lib/libc/hash/sha1.3 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r a3c12af2d184 -r 414b059df4a6 lib/libc/hash/sha1.3
--- a/lib/libc/hash/sha1.3 Fri Mar 30 22:44:19 2001 +0000
+++ b/lib/libc/hash/sha1.3 Fri Mar 30 22:45:55 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: sha1.3,v 1.3 1999/02/28 00:00:03 ross Exp $
+.\" $NetBSD: sha1.3,v 1.3.10.1 2001/03/30 22:45:55 he Exp $
.\" $OpenBSD: sha1.3,v 1.9 1998/03/07 22:18:12 millert Exp $
.\"
.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller%courtesan.com@localhost>
@@ -168,7 +168,7 @@
/* Print the digest as one long hex value */
printf("0x");
for (n = 0; n < 20; n++)
- printf("%x", results[n]);
+ printf("%02x", results[n]);
putchar('\\n');
.Ed
.Pp
Home |
Main Index |
Thread Index |
Old Index