summaryrefslogtreecommitdiff
path: root/sys/crypto/xform.c
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2004-06-26 05:05:13 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2004-06-26 05:05:13 +0000
commit29fe2774e4b657b234b4462fff91c3ba006b7a52 (patch)
tree316e8d0d6be09110f82da68a0c4e7586a8a63f15 /sys/crypto/xform.c
parentded365edcaca083231ee2b78a2cb52610d1a90ca (diff)
Ansification of defalte-/lsz-stubs.
ok jfb@
Diffstat (limited to 'sys/crypto/xform.c')
-rw-r--r--sys/crypto/xform.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/sys/crypto/xform.c b/sys/crypto/xform.c
index a07790faf9a..a4f3be39bf6 100644
--- a/sys/crypto/xform.c
+++ b/sys/crypto/xform.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xform.c,v 1.25 2004/05/07 14:42:26 millert Exp $ */
+/* $OpenBSD: xform.c,v 1.26 2004/06/26 05:05:12 hshoexer Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -512,28 +512,19 @@ SHA512_Update_int(void *ctx, u_int8_t *buf, u_int16_t len)
*/
u_int32_t
-deflate_compress(data, size, out)
- u_int8_t *data;
- u_int32_t size;
- u_int8_t **out;
+deflate_compress(u_int8_t *data, u_int32_t size, u_int8_t **out)
{
return deflate_global(data, size, 0, out);
}
u_int32_t
-deflate_decompress(data, size, out)
- u_int8_t *data;
- u_int32_t size;
- u_int8_t **out;
+deflate_decompress(u_int8_t *data, u_int32_t size, u_int8_t **out)
{
return deflate_global(data, size, 1, out);
}
u_int32_t
-lzs_dummy(data, size, out)
- u_int8_t *data;
- u_int32_t size;
- u_int8_t **out;
+lzs_dummy(u_int8_t *data, u_int32_t size, u_int8_t **out)
{
*out = NULL;
return (0);