Home
last modified time | relevance | path

Searched refs:src_context (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dcontext.c303 cc_ops_copy(krb5_context context, const krb5_context src_context) in cc_ops_copy() argument
310 if (src_context->num_cc_ops == 0) in cc_ops_copy()
313 cc_ops = malloc(sizeof(cc_ops[0]) * src_context->num_cc_ops); in cc_ops_copy()
320 memcpy(rk_UNCONST(cc_ops), src_context->cc_ops, in cc_ops_copy()
321 sizeof(cc_ops[0]) * src_context->num_cc_ops); in cc_ops_copy()
323 context->num_cc_ops = src_context->num_cc_ops; in cc_ops_copy()
346 kt_ops_copy(krb5_context context, const krb5_context src_context) in kt_ops_copy() argument
351 if (src_context->num_kt_types == 0) in kt_ops_copy()
354 context->kt_types = malloc(sizeof(context->kt_types[0]) * src_context->num_kt_types); in kt_ops_copy()
358 context->num_kt_types = src_context->num_kt_types; in kt_ops_copy()
[all …]