gssapi: gss_krb5_set_allowable_enctypes prototype mismatch
authorLuke Howard <lukeh@padl.com>
Thu, 3 Jan 2019 05:51:18 +0000 (16:51 +1100)
committerLuke Howard <lukeh@padl.com>
Thu, 3 Jan 2019 06:54:38 +0000 (17:54 +1100)
commit2242b5bc5b3ac4e5c7b7f324e069ab638814f4a8
treefdea6dbecb5229c23f3c6cc3efbceda5deb0947c
parent728650f3ddb6c922c6d079485781aabab6fdefa6
gssapi: gss_krb5_set_allowable_enctypes prototype mismatch

gss_krb5_set_allowable_enctypes() was declared with an array of int32_t types
representing the enctype list, but the definition had an array of krb5_enctype.
Whilst these are likely the same size, they may not be. On the receiving end,
allocate an array of krb5_enctype.
lib/gssapi/krb5/set_cred_option.c
lib/gssapi/mech/gss_krb5.c