summaryrefslogtreecommitdiff
path: root/sys/miscfs/tcfs/tcfs_mount.h
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2000-06-18 16:23:11 +0000
committerNiels Provos <provos@cvs.openbsd.org>2000-06-18 16:23:11 +0000
commitc03b36cbcdf70018b03c8c925fc4e9792f92fd8b (patch)
treeed2aa5d2828c838facc6aff27ef633f33d2d4ee6 /sys/miscfs/tcfs/tcfs_mount.h
parent555ca9661a390b91aeacaf535c9b178ba0167ce5 (diff)
change keysize from 8 bytes to 24 for Triple-DES and to 32 for Blowfish.
This probably breaks group sharing. copyin on userland pointers is required, inline key into the argument structure.
Diffstat (limited to 'sys/miscfs/tcfs/tcfs_mount.h')
-rw-r--r--sys/miscfs/tcfs/tcfs_mount.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/tcfs/tcfs_mount.h b/sys/miscfs/tcfs/tcfs_mount.h
index 095ed23f3b5..de6d87afe6d 100644
--- a/sys/miscfs/tcfs/tcfs_mount.h
+++ b/sys/miscfs/tcfs/tcfs_mount.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcfs_mount.h,v 1.3 2000/06/17 20:25:55 provos Exp $ */
+/* $OpenBSD: tcfs_mount.h,v 1.4 2000/06/18 16:23:10 provos Exp $ */
/*
* Copyright 2000 The TCFS Project at http://tcfs.dia.unisa.it/
* All rights reserved.
@@ -44,7 +44,7 @@ struct tcfs_status {
struct tcfs_args {
char *target; /* Target of loopback */
- char *tcfs_key; /* chiave */
+ u_char tcfs_key[KEYSIZE];
int cipher_num;
int cmd; /* direttiva */
uid_t user; /* utente */