diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2013-08-15 18:40:30 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-22 19:29:08 +0200 |
commit | 884b1305806847e2e05a07988b77d3b5f77a37bc (patch) | |
tree | 4e4a78930871bb2c0841134a15adfc3cb9c599ca /src/tools/selinux.c | |
parent | 18dff5d8bb4081af4c94339db9342b8a5b7d121e (diff) | |
download | sssd-884b1305806847e2e05a07988b77d3b5f77a37bc.tar.gz sssd-884b1305806847e2e05a07988b77d3b5f77a37bc.tar.bz2 sssd-884b1305806847e2e05a07988b77d3b5f77a37bc.zip |
KRB5: Only set active and valid on success
The FILE cache only sets the return values of _active and _bool if the
entire function succeeds. The DIR cache was setting it even on failure.
This patch makes both consistent. This will benefit static analysis
tools which would be able to detect if the variable is ever used
uninitialized anywhere.
Diffstat (limited to 'src/tools/selinux.c')
0 files changed, 0 insertions, 0 deletions