summaryrefslogtreecommitdiffstats
path: root/src/tests/gssapi
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-12-17 16:15:14 -0500
committerGreg Hudson <ghudson@mit.edu>2013-12-18 15:58:55 -0500
commitd160bc733a3dbeb6d84f4e175234ff18738d9f66 (patch)
tree207a2bfdd3ec89bb2557604b4cb41b0a34bc94ef /src/tests/gssapi
parentc91f2a285e77e71bd283483d583c68e76eb3a0dd (diff)
downloadkrb5-d160bc733a3dbeb6d84f4e175234ff18738d9f66.tar.gz
krb5-d160bc733a3dbeb6d84f4e175234ff18738d9f66.tar.xz
krb5-d160bc733a3dbeb6d84f4e175234ff18738d9f66.zip
Let SPNEGO display mechanism errors
To avoid potential recursion we use a thread local variable that tells us whether the ancestor was called via spnego_gss_display_name(). If we detect recursion, we assume that we returned a com_err code like ENOMEM and call error_message(); in the worst case that will result in an "Unknown error" message. [ghudson@mit.edu: Edited comments and commit message; removed an unneeded line of code.] ticket: 7045 target_version: 1.12.1 tags: pullup
Diffstat (limited to 'src/tests/gssapi')
0 files changed, 0 insertions, 0 deletions