summaryrefslogtreecommitdiffstats
path: root/src/ccapi/test/test_ccapi_util.h
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2010-08-23 22:03:25 +0000
committerGreg Hudson <ghudson@mit.edu>2010-08-23 22:03:25 +0000
commit63a020538575070aeb66faf948467b877139384e (patch)
treee286e07be134692e3c19a5170b58646b119b929c /src/ccapi/test/test_ccapi_util.h
parent41103fb180d78f349a5c3fe45f96008b50a11587 (diff)
downloadkrb5-63a020538575070aeb66faf948467b877139384e.tar.gz
krb5-63a020538575070aeb66faf948467b877139384e.tar.xz
krb5-63a020538575070aeb66faf948467b877139384e.zip
Fail properly when profile can't be accessed
Make profile_init() return EACCESS or EPERM if one of those errors was encountered when failing to open any of the specified profile files. This causes krb5_init_os_context() to fail properly when krb5.conf is unreadable, instead of treating that situation like a nonexistent krb5.conf. The library will continue to soldier on if one profile file is readable and another is not. This is deliberate as of r14116, whether or not it's a good idea. ticket: 6760 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24250 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/test/test_ccapi_util.h')
0 files changed, 0 insertions, 0 deletions