Don't test error code when it's known to be 0
authorKen Raeburn <raeburn@mit.edu>
Thu, 15 May 2008 23:06:12 +0000 (23:06 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 15 May 2008 23:06:12 +0000 (23:06 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20319 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/krb5/lucid_context.c

index 0bb48b65c889b599b334d21852cecd79c154ecef..1e4f0bf9c4f32ab71007e743ffea5a50fb6dc9f1 100644 (file)
@@ -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) {