gss: allow source/target to be null on export/import
commit33137a8c8246ef239c49a103bb1484cb389f5101
authorLuke Howard <lukeh@padl.com>
Tue, 14 Apr 2020 02:34:44 +0000 (14 12:34 +1000)
committerLuke Howard <lukeh@padl.com>
Thu, 16 Apr 2020 05:20:10 +0000 (16 15:20 +1000)
tree5266465793611e70e6b7f7dbe0353962ba990cc0
parent865fffb0f5e8958afb91c95dcac2a68edbd25c04
gss: allow source/target to be null on export/import

Allow the source and target names to be NULL when exporting or importing a
security context for the krb5 mechanism. This will be used in the future to
support skeletal contexts that only provide RFC4121 message protection
services.
lib/gssapi/krb5/export_sec_context.c
lib/gssapi/krb5/gsskrb5_locl.h
lib/gssapi/krb5/import_sec_context.c