Skip Menu |
 

From: tlyu@mit.edu
Subject: git commit

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]

(cherry picked from commit 969c976ff021db7e409ce9a38d28316d9acfa2cc)

https://github.com/krb5/krb5/commit/7403bd7c97821fe47e5d5ca83d216748aaa03d7e
Author: Tomas Kuthan <tkuthan@gmail.com>
Committer: Tom Yu <tlyu@mit.edu>
Commit: 7403bd7c97821fe47e5d5ca83d216748aaa03d7e
Branch: krb5-1.13
src/lib/gssapi/mechglue/g_unwrap_iov.c | 7 +++++--
src/lib/gssapi/mechglue/g_wrap_iov.c | 14 ++++++++++----
2 files changed, 15 insertions(+), 6 deletions(-)