From: Derrick Brashear Date: Fri, 19 Jan 2001 09:52:21 +0000 (+0000) Subject: STABLE10-cleanup-pioctl-cryptall-interface-20010119 X-Git-Tag: openafs-stable-1_0_2~12 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c32a0049ee4f5dc2df5af7522440ee1402019b3a;p=packages%2Fo%2Fopenafs.git STABLE10-cleanup-pioctl-cryptall-interface-20010119 Complete port of patch to current code (cherry picked from commit e19270efa90eaa75b7bee74e80ef3ab6579da930) --- 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; }