diff options
author | Ken Raeburn <raeburn@mit.edu> | 2008-05-15 23:06:12 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2008-05-15 23:06:12 +0000 |
commit | 7c0491b595a680a250f964e7ebaf28126c5653fe (patch) | |
tree | 46851a16936dcfd8018531248c7fb9abe6f0ab4b /src/lib/gssapi | |
parent | 0e619d5d2a3f17635a08220b866471018af435c1 (diff) | |
download | krb5-7c0491b595a680a250f964e7ebaf28126c5653fe.tar.gz krb5-7c0491b595a680a250f964e7ebaf28126c5653fe.tar.xz krb5-7c0491b595a680a250f964e7ebaf28126c5653fe.zip |
Don't test error code when it's known to be 0
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20319 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/gssapi')
-rw-r--r-- | src/lib/gssapi/krb5/lucid_context.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/gssapi/krb5/lucid_context.c b/src/lib/gssapi/krb5/lucid_context.c index 0bb48b65c..1e4f0bf9c 100644 --- a/src/lib/gssapi/krb5/lucid_context.c +++ b/src/lib/gssapi/krb5/lucid_context.c @@ -1,7 +1,7 @@ /* * lib/gssapi/krb5/lucid_context.c * - * Copyright 2004 by the Massachusetts Institute of Technology. + * Copyright 2004, 2008 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may @@ -89,8 +89,6 @@ gss_krb5int_export_lucid_sec_context( } ctx = (krb5_gss_ctx_id_t) *context_handle; - if (kret) - goto error_out; /* Externalize a structure of the right version */ switch (version) { |