summaryrefslogtreecommitdiff
path: root/usr.bin/tcfs
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-06-19 21:23:45 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-06-19 21:23:45 +0000
commitd7cc9e1b8aa4f0888f46bc41f64d49d264877375 (patch)
tree7560c9b9bd2cc419f26e10ee2844e691f2a253e9 /usr.bin/tcfs
parentf27c1299cf4de6ea1c2adb1e5759b736e2d9e48d (diff)
pass the correct size of the buffer
Diffstat (limited to 'usr.bin/tcfs')
-rw-r--r--usr.bin/tcfs/tcfsaddgroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tcfs/tcfsaddgroup.c b/usr.bin/tcfs/tcfsaddgroup.c
index c0ae96a1fa4..6761b0c81c2 100644
--- a/usr.bin/tcfs/tcfsaddgroup.c
+++ b/usr.bin/tcfs/tcfsaddgroup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcfsaddgroup.c,v 1.6 2000/06/19 20:50:58 fgsch Exp $ */
+/* $OpenBSD: tcfsaddgroup.c,v 1.7 2000/06/19 21:23:44 fgsch Exp $ */
/*
* Transparent Cryptographic File System (TCFS) for NetBSD
@@ -357,7 +357,7 @@ addgroup_main (int argn, char *argv[])
* Encrypt the just generated key with the user password
*/
if (!tcfs_encrypt_key (passwd, newkey, GKEYSIZE,
- cryptedkey, GROUPKEY))
+ cryptedkey, UUGKEYSIZE))
tcfs_error (ER_MEM, NULL);
free (newkey);