Fix NetBSD CVS tag, put all code under #ifdef HASH_ALGORITHM.
This commit is contained in:
parent
7e426d2f8a
commit
40a18454f9
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD */
|
||||
/* $NetBSD: hash.c,v 1.3 2005/09/24 19:30:06 elad Exp $ */
|
||||
|
||||
/*
|
||||
* ----------------------------------------------------------------------------
|
||||
|
@ -14,6 +14,8 @@
|
|||
* Modified April 29, 1997 by Jason R. Thorpe <thorpej@NetBSD.org>
|
||||
*/
|
||||
|
||||
#ifdef HASH_ALGORITHM
|
||||
|
||||
#include "namespace.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
|
@ -123,3 +125,5 @@ FNPREFIX(Data)(const unsigned char *data, size_t len, char *buf)
|
|||
FNPREFIX(Update)(&ctx, data, (unsigned int)len);
|
||||
return (FNPREFIX(End)(&ctx, buf));
|
||||
}
|
||||
|
||||
#endif /* HASH_ALGORITHM */
|
||||
|
|
Loading…
Reference in New Issue