Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/sys/lib/libkern Pull up revision 1.9 (requested by tron i...
details: https://anonhg.NetBSD.org/src/rev/d001726a1a4c
branches: netbsd-3
changeset: 576499:d001726a1a4c
user: riz <riz%NetBSD.org@localhost>
date: Tue Jul 05 22:38:04 2005 +0000
description:
Pull up revision 1.9 (requested by tron in ticket #515):
Don't use a static buffer in SHA1Transform() because it might cause
various problems including sporadic IPSec authentification failures
if this code is used by multiple instances in parallel.
diffstat:
sys/lib/libkern/sha1.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 6779ed5bb862 -r d001726a1a4c sys/lib/libkern/sha1.c
--- a/sys/lib/libkern/sha1.c Tue Jul 05 22:25:28 2005 +0000
+++ b/sys/lib/libkern/sha1.c Tue Jul 05 22:38:04 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sha1.c,v 1.8 2004/06/30 13:45:54 christos Exp $ */
+/* $NetBSD: sha1.c,v 1.8.10.1 2005/07/05 22:38:04 riz Exp $ */
/* $OpenBSD: sha1.c,v 1.9 1997/07/23 21:12:32 kstailey Exp $ */
/*
@@ -126,7 +126,7 @@
CHAR64LONG16 *block;
#ifdef SHA1HANDSOFF
- static u_int workspace[16];
+ u_int workspace[16];
block = (CHAR64LONG16 *)workspace;
(void)memcpy(block, buffer, 64);
#else
Home |
Main Index |
Thread Index |
Old Index