Searched refs:dest_oid (Results 1 - 2 of 2) sorted by relevance

/freebsd-11.0-release/crypto/heimdal/lib/gssapi/mech/
H A Dgss_duplicate_oid.c40 gss_OID *dest_oid
46 *dest_oid = GSS_C_NO_OID;
50 *dest_oid = malloc(sizeof(**dest_oid));
51 if (*dest_oid == GSS_C_NO_OID) {
56 (*dest_oid)->elements = malloc(src_oid->length);
57 if ((*dest_oid)->elements == NULL) {
58 free(*dest_oid);
59 *dest_oid = GSS_C_NO_OID;
63 memcpy((*dest_oid)
[all...]
/freebsd-11.0-release/lib/libgssapi/
H A Dgss_duplicate_oid.c38 gss_OID dest_oid; local
46 dest_oid = malloc(sizeof(gss_OID_desc));
47 if (!dest_oid) {
52 dest_oid->elements = malloc(src_oid->length);
53 if (!dest_oid->elements) {
54 free(dest_oid);
59 memcpy(dest_oid->elements, src_oid->elements, src_oid->length);
60 dest_oid->length = src_oid->length;
62 *dest_oid_p = dest_oid;

Completed in 72 milliseconds