summaryrefslogtreecommitdiff
path: root/usr.bin/tcfs/tcfslib.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tcfs/tcfslib.h')
-rw-r--r--usr.bin/tcfs/tcfslib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tcfs/tcfslib.h b/usr.bin/tcfs/tcfslib.h
index 6f8f52b861e..337cb6c31b5 100644
--- a/usr.bin/tcfs/tcfslib.h
+++ b/usr.bin/tcfs/tcfslib.h
@@ -25,8 +25,8 @@ extern void tcfsgpwdbr_dispose (tcfsgpwdb *p);
extern int tcfs_chgpwd (char *u, char *o, char *p);
extern int tcfs_group_chgpwd (char *u, gid_t gid, char *o, char *p);
extern int tcfs_chgpassword (char *u, char *o, char *p);
-extern int tcfs_decrypt_key (char *u, char *pwd, unsigned char *t, unsigned char *tk, unsigned int flag);
-extern int tcfs_encrypt_key (char *u, char *pw, unsigned char *key, unsigned char *ek, unsigned int flag);
+extern int tcfs_decrypt_key (char *pwd, u_char *t, u_char *tk, int tklen);
+extern int tcfs_encrypt_key (char *pwd, u_char *key, int klen, u_char *ek, int eklen);
extern char *tcfs_decode (char *t, int *l);
extern char *tcfs_encode (char *t, int l);
extern char *gentcfskey (void);