Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 03/19/2001 05:14:01
Module Name:	basesrc
Committed By:	simonb
Date:		Mon Mar 19 03:14:00 UTC 2001

Modified Files:
	basesrc/lib/libc/hash: sha1.c

Log Message:
Don't use a u_char array for a workspace that will be cast then accessed
as int's, as the array is not guaranteed to be int-aligned on the stack.
Use a CHAR64LONG16 type instead for the workspace, since the workspace
is accessed through that type anyway.

Fixes PR pkg/12417 from Andrew Brown.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 basesrc/lib/libc/hash/sha1.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.