Home
last modified time | relevance | path

Searched refs:OPENSSL_strdup (Results 1 – 25 of 75) sorted by relevance

123

/third_party/openssl/crypto/ocsp/
Docsp_lib.c129 buf = OPENSSL_strdup(url); in OCSP_parse_url()
163 *ppath = OPENSSL_strdup("/"); in OCSP_parse_url()
165 *ppath = OPENSSL_strdup(p); in OCSP_parse_url()
190 *pport = OPENSSL_strdup(port); in OCSP_parse_url()
194 *phost = OPENSSL_strdup(host); in OCSP_parse_url()
/third_party/openssl/crypto/dh/
Ddh_meth.c21 dhm->name = OPENSSL_strdup(name); in DH_meth_new()
47 ret->name = OPENSSL_strdup(dhm->name); in DH_meth_dup()
65 char *tmpname = OPENSSL_strdup(name); in DH_meth_set1_name()
/third_party/openssl/apps/
Dapp_rand.c31 save_rand_file = OPENSSL_strdup(randfile); in app_RAND_load_conf()
89 save_rand_file = OPENSSL_strdup(opt_arg()); in opt_rand()
Dsrp.c442 row[DB_srpid] = OPENSSL_strdup(user); in srp_main()
443 row[DB_srptype] = OPENSSL_strdup("v"); in srp_main()
444 row[DB_srpgN] = OPENSSL_strdup(gNid); in srp_main()
452 && ((row[DB_srpinfo] = OPENSSL_strdup(userinfo)) == NULL)) in srp_main()
527 row[DB_srpgN] = OPENSSL_strdup(gNid); in srp_main()
535 && ((row[DB_srpinfo] = OPENSSL_strdup(userinfo)) in srp_main()
Drehash.c171 ep->filename = OPENSSL_strdup(filename); in add_entry()
360 if ((copy = OPENSSL_strdup(filename)) == NULL in do_dir()
517 m = OPENSSL_strdup(env); in rehash_main()
/third_party/openssl/crypto/conf/
Dconf_ssl.c99 ssl_name->name = OPENSSL_strdup(sect->name); in ssl_module_init()
118 cmd->cmd = OPENSSL_strdup(name); in ssl_module_init()
119 cmd->arg = OPENSSL_strdup(cmd_conf->value); in ssl_module_init()
Dconf_mod.c244 tmod->name = OPENSSL_strdup(name); in module_add()
303 imod->name = OPENSSL_strdup(name); in module_init()
304 imod->value = OPENSSL_strdup(value); in module_init()
487 return OPENSSL_strdup(file); in CONF_get1_default_config_file()
/third_party/openssl/crypto/dsa/
Ddsa_meth.c29 dsam->name = OPENSSL_strdup(name); in DSA_meth_new()
55 ret->name = OPENSSL_strdup(dsam->name); in DSA_meth_dup()
73 char *tmpname = OPENSSL_strdup(name); in DSA_meth_set1_name()
/third_party/openssl/crypto/objects/
Dobj_lib.c44 if (o->ln != NULL && (r->ln = OPENSSL_strdup(o->ln)) == NULL) in OBJ_dup()
47 if (o->sn != NULL && (r->sn = OPENSSL_strdup(o->sn)) == NULL) in OBJ_dup()
/third_party/openssl/crypto/ui/
Dui_lib.c213 prompt_copy = OPENSSL_strdup(prompt); in UI_dup_input_string()
241 prompt_copy = OPENSSL_strdup(prompt); in UI_dup_verify_string()
272 prompt_copy = OPENSSL_strdup(prompt); in UI_dup_input_boolean()
280 action_desc_copy = OPENSSL_strdup(action_desc); in UI_dup_input_boolean()
288 ok_chars_copy = OPENSSL_strdup(ok_chars); in UI_dup_input_boolean()
296 cancel_chars_copy = OPENSSL_strdup(cancel_chars); in UI_dup_input_boolean()
325 text_copy = OPENSSL_strdup(text); in UI_dup_info_string()
347 text_copy = OPENSSL_strdup(text); in UI_dup_error_string()
602 || (ui_method->name = OPENSSL_strdup(name)) == NULL in UI_create_method()
/third_party/openssl/test/testutil/
Dstanza.c138 || !TEST_ptr(pp->key = OPENSSL_strdup(key)) in test_readstanza()
139 || !TEST_ptr(pp->value = OPENSSL_strdup(value))) in test_readstanza()
/third_party/openssl/crypto/rsa/
Drsa_meth.c21 meth->name = OPENSSL_strdup(name); in RSA_meth_new()
47 ret->name = OPENSSL_strdup(meth->name); in RSA_meth_dup()
65 char *tmpname = OPENSSL_strdup(name); in RSA_meth_set1_name()
/third_party/openssl/crypto/bio/
Db_addr.c237 *hostname = OPENSSL_strdup(host); in addr_strings()
239 *service = OPENSSL_strdup(serv); in addr_strings()
243 *hostname = OPENSSL_strdup(inet_ntoa(ap->s_in.sin_addr)); in addr_strings()
247 *service = OPENSSL_strdup(serv); in addr_strings()
292 return OPENSSL_strdup(ap->s_un.sun_path); in BIO_ADDR_path_string()
/third_party/openssl/crypto/srp/
Dsrp_vfy.c214 if (id != NULL && NULL == (vinfo->id = OPENSSL_strdup(id))) in SRP_user_pwd_set_ids()
216 return (info == NULL || NULL != (vinfo->info = OPENSSL_strdup(info))); in SRP_user_pwd_set_ids()
285 if ((seed_key != NULL) && (vb->seed_key = OPENSSL_strdup(seed_key)) == NULL) { in SRP_VBASE_new()
317 if ((newgN->b64_bn = OPENSSL_strdup(ch)) == NULL) in SRP_gN_new_init()
421 if ((gN->id = OPENSSL_strdup(pp[DB_srpid])) == NULL in SRP_VBASE_init()
/third_party/openssl/crypto/engine/
Deng_dyn.c311 ctx->DYNAMIC_LIBNAME = OPENSSL_strdup(p); in dynamic_ctrl()
324 ctx->engine_id = OPENSSL_strdup(p); in dynamic_ctrl()
351 char *tmp_str = OPENSSL_strdup(p); in dynamic_ctrl()
/third_party/openssl/crypto/x509v3/
Dv3_enum.c50 return OPENSSL_strdup(enam->lname); in i2s_ASN1_ENUMERATED_TABLE()
/third_party/openssl/crypto/dso/
Ddso_dl.c159 merged = OPENSSL_strdup(filespec1); in dl_merger()
169 merged = OPENSSL_strdup(filespec2); in dl_merger()
Ddso_lib.c253 copied = OPENSSL_strdup(filename); in DSO_set_filename()
301 result = OPENSSL_strdup(filename); in DSO_convert_filename()
/third_party/openssl/include/openssl/
Dbuffer.h31 # define BUF_strdup(s) OPENSSL_strdup(s)
/third_party/openssl/test/
Dhandshake_helper.c446 return OPENSSL_strdup(ctx_data->srp_password); in client_srp_cb()
653 OPENSSL_strdup(extra->server.session_ticket_app_data); in configure_handshake_ctx()
661 OPENSSL_strdup(extra->server2.session_ticket_app_data); in configure_handshake_ctx()
701 server_ctx_data->srp_user = OPENSSL_strdup(extra->server.srp_user); in configure_handshake_ctx()
702 server_ctx_data->srp_password = OPENSSL_strdup(extra->server.srp_password); in configure_handshake_ctx()
709 server2_ctx_data->srp_user = OPENSSL_strdup(extra->server2.srp_user); in configure_handshake_ctx()
710 server2_ctx_data->srp_password = OPENSSL_strdup(extra->server2.srp_password); in configure_handshake_ctx()
718 client_ctx_data->srp_password = OPENSSL_strdup(extra->client.srp_password); in configure_handshake_ctx()
Dssl_test_ctx_test.c186 OPENSSL_strdup("foo,bar"); in test_good_configuration()
196 OPENSSL_strdup("baz"); in test_good_configuration()
Denginetest.c145 id = OPENSSL_strdup(buf); in test_engines()
147 name = OPENSSL_strdup(buf); in test_engines()
/third_party/openssl/demos/bio/
Dsconnect.c46 hostname = OPENSSL_strdup(hostport); in main()
/third_party/openssl/crypto/ct/
Dct_x509v3.c18 return OPENSSL_strdup("NULL"); in i2s_poison()
/third_party/openssl/crypto/store/
Dstore_lib.c336 char *ret = OPENSSL_strdup(info->_.name.name); in OSSL_STORE_INFO_get1_NAME()
358 char *ret = OPENSSL_strdup(info->_.name.desc in OSSL_STORE_INFO_get1_NAME_description()
618 new_pem_name == NULL ? NULL : OPENSSL_strdup(new_pem_name); in ossl_store_info_new_EMBEDDED()

123