Lines Matching defs:src_opts
150 pkinit_dup_identity_opts(pkinit_identity_opts *src_opts,
163 if (src_opts->identity != NULL) {
164 newopts->identity = strdup(src_opts->identity);
169 retval = copy_list(&newopts->anchors, src_opts->anchors);
173 retval = copy_list(&newopts->intermediates,src_opts->intermediates);
177 retval = copy_list(&newopts->crls, src_opts->crls);
181 if (src_opts->ocsp != NULL) {
182 newopts->ocsp = strdup(src_opts->ocsp);
187 if (src_opts->cert_filename != NULL) {
188 newopts->cert_filename = strdup(src_opts->cert_filename);
193 if (src_opts->key_filename != NULL) {
194 newopts->key_filename = strdup(src_opts->key_filename);
200 if (src_opts->p11_module_name != NULL) {
201 newopts->p11_module_name = strdup(src_opts->p11_module_name);
206 newopts->slotid = src_opts->slotid;
208 if (src_opts->token_label != NULL) {
209 newopts->token_label = strdup(src_opts->token_label);
214 if (src_opts->cert_id_string != NULL) {
215 newopts->cert_id_string = strdup(src_opts->cert_id_string);
220 if (src_opts->cert_label != NULL) {
221 newopts->cert_label = strdup(src_opts->cert_label);