Lines Matching refs:p12
1719 static int tls_parse_pkcs12(SSL_CTX *ssl_ctx, SSL *ssl, PKCS12 *p12, in tls_parse_pkcs12() argument
1731 if (!PKCS12_parse(p12, passwd, &pkey, &cert, &certs)) { in tls_parse_pkcs12()
1734 PKCS12_free(p12); in tls_parse_pkcs12()
1784 PKCS12_free(p12); in tls_parse_pkcs12()
1799 PKCS12 *p12; in tls_read_pkcs12() local
1805 p12 = d2i_PKCS12_fp(f, NULL); in tls_read_pkcs12()
1808 if (p12 == NULL) { in tls_read_pkcs12()
1814 return tls_parse_pkcs12(ssl_ctx, ssl, p12, passwd); in tls_read_pkcs12()
1828 PKCS12 *p12; in tls_read_pkcs12_blob() local
1830 p12 = d2i_PKCS12(NULL, (OPENSSL_d2i_TYPE) &blob, len); in tls_read_pkcs12_blob()
1831 if (p12 == NULL) { in tls_read_pkcs12_blob()
1837 return tls_parse_pkcs12(ssl_ctx, ssl, p12, passwd); in tls_read_pkcs12_blob()