Make sure that we encrypt when requested to by the application
Change-Id: Ib2e1292993a0be113f0c95ef1a7b0e79a273798d
funcName, AFSDIR_SERVER_ETC_DIRPATH);
return -1;
}
- code = afsconf_ClientAuth(tdir, &sc, &scIndex); /* sets sc,scIndex */
+ if (gen_rxkad_level == rxkad_crypt) { /* -encrypt */
+ code = afsconf_ClientAuthSecure(tdir, &sc, &scIndex);
+ } else {
+ code = afsconf_ClientAuth(tdir, &sc, &scIndex); /* sets sc,scIndex */
+ }
if (code) {
afsconf_Close(tdir);
fprintf(stderr,