]> git.ipfire.org Git - thirdparty/krb5.git/commit
Set an error message when keyring get_princ fails
authorNalin Dahyabhai <nalin@dahyabhai.net>
Thu, 5 Dec 2013 18:54:09 +0000 (13:54 -0500)
committerTom Yu <tlyu@mit.edu>
Thu, 9 Jan 2014 02:46:16 +0000 (21:46 -0500)
commit5571685ec73f95cc8d490986f7b87fccd34897f5
treeacd1acacabee00cad8e7f9b7768d3690f14a31a7
parentd08778489c7510e5e6bc27306ab68706fcaf222f
Set an error message when keyring get_princ fails

When attempting to use a keyring cache that doesn't exist, set an error
message when we fail to read a principal name, as we do when we return
the same error code when using a file ccache.

[ghudson: removed unnecessary check for d->name nullity.]

(cherry picked from commit c25fc42e8eac7350209df61e4a7b9960d17755ca)

ticket: 7809
src/lib/krb5/ccache/cc_keyring.c