Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Derrmap.h188 struct mecherrmap__pair newpair; in mecherrmap_add() local
203 newpair.l = l; in mecherrmap_add()
204 newpair.r = r; in mecherrmap_add()
210 mecherrmap__pairarray_set (&m->a, sz, newpair); in mecherrmap_add()
/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Dclasn1.c889 KMF_X509_TYPE_VALUE_PAIR *newpair = NULL; in get_rdn() local
954 newpair = malloc(sizeof (KMF_X509_TYPE_VALUE_PAIR)); in get_rdn()
955 if (newpair == NULL) { in get_rdn()
959 (void) memset(newpair, 0, sizeof (KMF_X509_TYPE_VALUE_PAIR)); in get_rdn()
960 newpair->type.Data = (uchar_t *)AttrOID.bv_val; in get_rdn()
961 newpair->type.Length = AttrOID.bv_len; in get_rdn()
962 newpair->valueType = tag; /* what kind of string is it? */ in get_rdn()
963 newpair->value.Data = (uchar_t *)AttrValue; in get_rdn()
964 newpair->value.Length = strlen(AttrValue); in get_rdn()
968 newrdn.AttributeTypeAndValue = newpair; in get_rdn()