summaryrefslogtreecommitdiff
path: root/include/rmd160.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-04-29 15:51:17 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-04-29 15:51:17 +0000
commitc082379018832e72c95068e938deaf79530a9458 (patch)
tree6e16bfb642f94adfe14efc18774aaa5d0ae628d0 /include/rmd160.h
parentbd5f9653f2399919b0aefeb32085ba80116ed969 (diff)
Undo some recent prototype changes; it is legal to pass the helper
functions can take a NULL buf pointer. They will malloc memory as needed in this case.
Diffstat (limited to 'include/rmd160.h')
-rw-r--r--include/rmd160.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/rmd160.h b/include/rmd160.h
index f80327355e8..e9b2603baf2 100644
--- a/include/rmd160.h
+++ b/include/rmd160.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rmd160.h,v 1.13 2004/04/26 19:38:12 millert Exp $ */
+/* $OpenBSD: rmd160.h,v 1.14 2004/04/29 15:51:16 millert Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
*
@@ -47,11 +47,11 @@ void RMD160Update(RMD160_CTX *, const u_int8_t *, u_int32_t)
__attribute__((__bounded__(__string__,2,3)));
void RMD160Final(u_int8_t [RMD160_DIGEST_LENGTH], RMD160_CTX *)
__attribute__((__bounded__(__minbytes__,1,RMD160_DIGEST_LENGTH)));
-char *RMD160End(RMD160_CTX *, char [RMD160_DIGEST_STRING_LENGTH])
+char *RMD160End(RMD160_CTX *, char *)
__attribute__((__bounded__(__minbytes__,2,RMD160_DIGEST_STRING_LENGTH)));
-char *RMD160File(char *, char [RMD160_DIGEST_STRING_LENGTH])
+char *RMD160File(char *, char *)
__attribute__((__bounded__(__minbytes__,2,RMD160_DIGEST_STRING_LENGTH)));
-char *RMD160Data(const u_int8_t *, size_t, char [RMD160_DIGEST_STRING_LENGTH])
+char *RMD160Data(const u_int8_t *, size_t, char *)
__attribute__((__bounded__(__string__,1,2)))
__attribute__((__bounded__(__minbytes__,3,RMD160_DIGEST_STRING_LENGTH)));
__END_DECLS