Lines Matching defs:passwd
2183 const char *passwd)
2194 if (!passwd)
2195 passwd = "";
2196 if (!PKCS12_parse(p12, passwd, &pkey, &cert, &certs)) {
2301 const char *private_key, const char *passwd)
2320 return tls_parse_pkcs12(data, ssl, p12, passwd);
2331 const u8 *blob, size_t len, const char *passwd)
2343 return tls_parse_pkcs12(data, ssl, p12, passwd);
2494 char *passwd;
2501 passwd = os_strdup(private_key_passwd);
2502 if (passwd == NULL)
2505 passwd = NULL;
2508 SSL_CTX_set_default_passwd_cb_userdata(ssl_ctx, passwd);
2540 private_key_blob_len, passwd) == 0) {
2572 if (tls_read_pkcs12(data, conn->ssl, private_key, passwd)
2593 os_free(passwd);
2598 os_free(passwd);
2616 char *passwd;
2622 passwd = os_strdup(private_key_passwd);
2623 if (passwd == NULL)
2626 passwd = NULL;
2629 SSL_CTX_set_default_passwd_cb_userdata(ssl_ctx, passwd);
2637 tls_read_pkcs12(data, NULL, private_key, passwd)) {
2640 os_free(passwd);
2644 os_free(passwd);