gssapi: import mechglue allocation utility functions from Heimdal-520
Apple's Heimdal impelmentation uses a number of utility functions for allocating names and credentials, to avoid calling malloc or calloc directly. Import them.
This commit is contained in:

committed by
Nico Williams

parent
e0bb9c10ca
commit
83f15553e0
@@ -194,7 +194,7 @@ gss_init_sec_context(OM_uint32 * minor_status,
|
||||
major_status = m->gm_init_sec_context(minor_status,
|
||||
cred_handle,
|
||||
&ctx->gc_ctx,
|
||||
mn->gmn_name,
|
||||
mn ? mn->gmn_name : GSS_C_NO_NAME,
|
||||
mech_type,
|
||||
req_flags,
|
||||
time_req,
|
||||
|
Reference in New Issue
Block a user