summaryrefslogtreecommitdiffstats
path: root/include/sha1.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sha1.h')
-rw-r--r--include/sha1.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sha1.h b/include/sha1.h
index 2ac214ed459..9df09a81b0d 100644
--- a/include/sha1.h
+++ b/include/sha1.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sha1.h,v 1.13 2003/06/26 19:34:17 avsm Exp $ */
+/* $OpenBSD: sha1.h,v 1.14 2003/08/01 17:38:33 avsm Exp $ */
/*
* SHA-1 in C
@@ -24,7 +24,8 @@ void SHA1Update(SHA1_CTX *context, const u_char *data, u_int len);
void SHA1Final(u_char digest[20], SHA1_CTX *context);
char *SHA1End(SHA1_CTX *, char *);
char *SHA1File(char *, char *);
-char *SHA1Data(const u_char *, size_t, char *);
+char *SHA1Data(const u_char *, size_t, char *)
+ __attribute__((__bounded__ (__string__,3,2)));
__END_DECLS
#define SHA1_DIGESTSIZE 20