SHA1File() receives a const char * for filename.

This commit is contained in:
elad 2005-09-24 17:19:56 +00:00
parent b0419c3261
commit 191a7f711e

View File

@ -1,4 +1,4 @@
/* $NetBSD: sha1.h,v 1.8 2005/09/24 17:09:06 elad Exp $ */ /* $NetBSD: sha1.h,v 1.9 2005/09/24 17:19:56 elad Exp $ */
/* /*
* SHA-1 in C * SHA-1 in C
@ -28,7 +28,7 @@ void SHA1Update(SHA1_CTX *, const u_char *, u_int);
void SHA1Final(u_char[SHA1_DIGEST_LENGTH], SHA1_CTX *); void SHA1Final(u_char[SHA1_DIGEST_LENGTH], SHA1_CTX *);
#ifndef _KERNEL #ifndef _KERNEL
char *SHA1End(SHA1_CTX *, char *); char *SHA1End(SHA1_CTX *, char *);
char *SHA1File(char *, char *); char *SHA1File(const char *, char *);
char *SHA1Data(const u_char *, size_t, char *); char *SHA1Data(const u_char *, size_t, char *);
#endif /* _KERNEL */ #endif /* _KERNEL */
__END_DECLS __END_DECLS