Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Check sort_enctypes return value in gic_keytab

  • Loading branch information...
commit 7266becb5590fdf5b10463fe22bfd67650e24975 1 parent e679fe0
@greghudson greghudson authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/lib/krb5/krb/gic_keytab.c
View
5 src/lib/krb5/krb/gic_keytab.c
@@ -205,9 +205,10 @@ krb5_init_creds_set_keytab(krb5_context context,
}
/* Sort the request enctypes so the ones in the keytab appear first. */
- sort_enctypes(ctx->request->ktype, ctx->request->nktypes, etype_list);
+ ret = sort_enctypes(ctx->request->ktype, ctx->request->nktypes,
+ etype_list);
free(etype_list);
- return 0;
+ return ret;
}
static krb5_error_code
Please sign in to comment.
Something went wrong with that request. Please try again.