From: Derrick Brashear Date: Fri, 19 Jan 2001 05:38:42 +0000 (+0000) Subject: cleanup-pioctl-cryptall-interface-20010119 X-Git-Tag: BP-openafs-devel-autoconf~113 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=e19270efa90eaa75b7bee74e80ef3ab6579da930;p=packages%2Fo%2Fopenafs.git cleanup-pioctl-cryptall-interface-20010119 Finish port of cryptall patch to current AFS codebase --- diff --git a/src/afs/afs_pioctl.c b/src/afs/afs_pioctl.c index 51cb65e88..314f61788 100644 --- a/src/afs/afs_pioctl.c +++ b/src/afs/afs_pioctl.c @@ -60,6 +60,7 @@ static int PSetSPrefs(), PGetSPrefs(), PGag(), PTwiddleRx(); static int PSetSPrefs33(), PStoreBehind(), PGCPAGs(); static int PGetCPrefs(), PSetCPrefs(); /* client network addresses */ static int PGetInitParams(), PFlushMount(), PRxStatProc(), PRxStatPeer(); +static int PGetRxkcrypt(), PSetRxkcrypt(); int PExportAfs(); static int HandleClientContext(struct afs_ioctl *ablob, int *com, struct AFS_UCRED **acred, struct AFS_UCRED *credp); @@ -3144,7 +3145,7 @@ afs_int32 ainSize; afs_int32 *aoutSize; struct AFS_UCRED *acred; { - bcopy((char *)&cryptall, aout, sizeof(int32)); + bcopy((char *)&cryptall, aout, sizeof(afs_int32)); *aoutSize=sizeof(afs_int32); return 0; }