]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix error mappings for IOV MIC mechglue funcs
authorTomas Kuthan <tkuthan@gmail.com>
Wed, 16 Sep 2015 10:13:26 +0000 (12:13 +0200)
committerGreg Hudson <ghudson@mit.edu>
Thu, 17 Sep 2015 16:34:31 +0000 (12:34 -0400)
commit969c976ff021db7e409ce9a38d28316d9acfa2cc
tree4b269e6821e9d0dfa070b5bd3dee32569c16075c
parentdd2baa849b00fa1f26d722450f22f13e34e71af4
Fix error mappings for IOV MIC mechglue funcs

The mechglue functions gss_get_mic_iov(), gss_get_mic_iov_length(),
and gss_verify_mic_iov() don't call map_error() to map
mechanism-specific error codes.  As a result, a subsequent call to
gss_display_status() fails with GSS_S_BAD_MECH, because no translation
for the error code is found in the error table.

This patch adds the missing map_error call.

[ghudson@mit.edu: correct a whitespace issue, edit commit message]

ticket: 8246 (new)
target_version: 1.13.3
tags: pullup
src/lib/gssapi/mechglue/g_unwrap_iov.c
src/lib/gssapi/mechglue/g_wrap_iov.c