Lines Matching defs:asn1ticket
1193 * Given d2i_-decoded asn1ticket, allocate and return a new krb5_ticket.
1207 */ KRB5_TKTBODY *asn1ticket,
1221 if (asn1ticket == NULL || asn1ticket->realm == NULL ||
1222 asn1ticket->sname == NULL ||
1223 sk_ASN1_GENERALSTRING_num(asn1ticket->sname->namestring) < 2) {
1225 "Null field in asn1ticket.\n");
1237 gstr_svc = sk_ASN1_GENERALSTRING_value(asn1ticket->sname->namestring, 0);
1238 gstr_host = sk_ASN1_GENERALSTRING_value(asn1ticket->sname->namestring, 1);
1242 asn1ticket->realm->length,
1243 (char *)asn1ticket->realm->data,
1256 asn1ticket->sname->nametype->data[0];
1257 new5ticket->enc_part.enctype = asn1ticket->encdata->etype->data[0];
1258 new5ticket->enc_part.kvno = asn1ticket->encdata->kvno->data[0];
1260 asn1ticket->encdata->cipher->length;
1262 calloc(1, asn1ticket->encdata->cipher->length)) == NULL) {
1270 asn1ticket->encdata->cipher->data,
1271 asn1ticket->encdata->cipher->length);
1301 KRB5_TKTBODY *asn1ticket = NULL;
1410 if ((asn1ticket = (KRB5_TKTBODY *)d2i_KRB5_TICKET(NULL, &p,
1422 if ((krb5rc = kssl_TKT2tkt(krb5context, asn1ticket, &krb5ticket,
1519 if (asn1ticket)
1520 KRB5_TICKET_free((KRB5_TICKET *) asn1ticket);