diff options
author | Luke Howard <lukeh@padl.com> | 2010-08-29 22:51:21 +0000 |
---|---|---|
committer | Luke Howard <lukeh@padl.com> | 2010-08-29 22:51:21 +0000 |
commit | ca0ff730a0e64effd6096a903cfe710462b248ef (patch) | |
tree | 078c6891796836ba4b10cce33d7775e71b9e7807 | |
parent | c92e96ff06ef181c1a3dfa2f4f82e1dd6aef62a6 (diff) | |
download | krb5-ca0ff730a0e64effd6096a903cfe710462b248ef.zip krb5-ca0ff730a0e64effd6096a903cfe710462b248ef.tar.gz krb5-ca0ff730a0e64effd6096a903cfe710462b248ef.tar.bz2 |
set minor status to krb5 error code
git-svn-id: svn://anonsvn.mit.edu/krb5/users/lhoward/import-cred@24275 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/tests/gssapi/t_gssexts.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/gssapi/t_gssexts.c b/src/tests/gssapi/t_gssexts.c index 6219e56..ed14755 100644 --- a/src/tests/gssapi/t_gssexts.c +++ b/src/tests/gssapi/t_gssexts.c @@ -338,6 +338,8 @@ getDefaultCred(OM_uint32 *minor, } out: + if (code) + *minor = code; krb5_free_principal(context, keytab_principal); krb5_cc_close(context, ccache); krb5_kt_close(context, keytab); @@ -359,7 +361,7 @@ getDefaultCred(OM_uint32 *minor, (void) gss_release_oid_set(&tmp_minor, &actual_mechs); } - return major; + return major; } int main(int argc, char *argv[]) |