=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tcfs/Attic/tcfsaddgroup.c,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/tcfs/Attic/tcfsaddgroup.c 2000/06/19 20:35:47 1.5 --- src/usr.bin/tcfs/Attic/tcfsaddgroup.c 2000/06/19 20:50:58 1.6 *************** *** 1,4 **** ! /* $OpenBSD: tcfsaddgroup.c,v 1.5 2000/06/19 20:35:47 fgsch Exp $ */ /* * Transparent Cryptographic File System (TCFS) for NetBSD --- 1,4 ---- ! /* $OpenBSD: tcfsaddgroup.c,v 1.6 2000/06/19 20:50:58 fgsch Exp $ */ /* * Transparent Cryptographic File System (TCFS) for NetBSD *************** *** 356,362 **** /* * Encrypt the just generated key with the user password */ ! if (!tcfs_encrypt_key (user, passwd, newkey, cryptedkey, GROUPKEY)) tcfs_error (ER_MEM, NULL); free (newkey); --- 356,363 ---- /* * Encrypt the just generated key with the user password */ ! if (!tcfs_encrypt_key (passwd, newkey, GKEYSIZE, ! cryptedkey, GROUPKEY)) tcfs_error (ER_MEM, NULL); free (newkey);