gss: allow gss_set_sec_context_option() to allocate a context
commit9a9aaa078cdf062a87b947860a77815f4b8ae8fb
authorLuke Howard <lukeh@padl.com>
Tue, 14 Apr 2020 02:36:55 +0000 (14 12:36 +1000)
committerLuke Howard <lukeh@padl.com>
Tue, 14 Apr 2020 07:03:58 +0000 (14 17:03 +1000)
tree2e204d4618304febccb3345b8a3dfa5dfde68cfc
parentb73c9cc063c3837b8c773c2d0da2000b82b1c8b8
gss: allow gss_set_sec_context_option() to allocate a context

The prototype for gss_set_sec_context_option() allows it to return a new
context, however this was not implemented. This functionality is required by
GSS_KRB5_IMPORT_RFC4121_CONTEXT_X.
lib/gssapi/mech/gss_set_sec_context_option.c