From: | ghudson@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]
https://github.com/krb5/krb5/commit/969c976ff021db7e409ce9a38d28316d9acfa2cc
Author: Tomas Kuthan <tkuthan@gmail.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 969c976ff021db7e409ce9a38d28316d9acfa2cc
Branch: master
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(-)