Lines Matching defs:in
6 * You may not use this file except in compliance with the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
29 krb5_copy_kdc_req(krb5_context context, const krb5_kdc_req *in,
39 req->magic = in->magic;
40 req->msg_type = in->msg_type;
42 if (in->padata != NULL) {
43 code = krb5_copy_pa_datas(context, in->padata, &req->padata);
48 req->kdc_options = in->kdc_options;
50 if (in->client != NULL) {
51 code = krb5_copy_principal(context, in->client, &req->client);
56 if (in->server != NULL) {
57 code = krb5_copy_principal(context, in->server, &req->server);
62 req->from = in->from;
63 req->till = in->till;
64 req->rtime = in->rtime;
66 req->nonce = in->nonce;
68 if (in->nktypes != 0) {
69 req->ktype = calloc(in->nktypes, sizeof (krb5_enctype));
74 memcpy(req->ktype, in->ktype,
75 in->nktypes * sizeof (krb5_enctype));
76 req->nktypes = in->nktypes;
79 if (in->addresses != NULL) {
80 code = krb5_copy_addresses(context, in->addresses,
86 req->authorization_data.magic = in->authorization_data.magic;
87 req->authorization_data.enctype = in->authorization_data.enctype;
88 req->authorization_data.kvno = in->authorization_data.kvno;
89 if (in->authorization_data.ciphertext.data != NULL) {
91 &in->authorization_data.ciphertext,
97 if (in->unenc_authdata != NULL) {
98 code = krb5_copy_authdata(context, in->unenc_authdata,
104 if (in->second_ticket != NULL) {
105 code = krb5_copy_tickets(context, in->second_ticket,
111 req->kdc_state = in->kdc_state;