Lines Matching refs:p12
1718 static int tls_parse_pkcs12(SSL_CTX *ssl_ctx, SSL *ssl, PKCS12 *p12, in tls_parse_pkcs12() argument
1730 if (!PKCS12_parse(p12, passwd, &pkey, &cert, &certs)) { in tls_parse_pkcs12()
1733 PKCS12_free(p12); in tls_parse_pkcs12()
1783 PKCS12_free(p12); in tls_parse_pkcs12()
1798 PKCS12 *p12; in tls_read_pkcs12() local
1804 p12 = d2i_PKCS12_fp(f, NULL); in tls_read_pkcs12()
1807 if (p12 == NULL) { in tls_read_pkcs12()
1813 return tls_parse_pkcs12(ssl_ctx, ssl, p12, passwd); in tls_read_pkcs12()
1827 PKCS12 *p12; in tls_read_pkcs12_blob() local
1829 p12 = d2i_PKCS12(NULL, (OPENSSL_d2i_TYPE) &blob, len); in tls_read_pkcs12_blob()
1830 if (p12 == NULL) { in tls_read_pkcs12_blob()
1836 return tls_parse_pkcs12(ssl_ctx, ssl, p12, passwd); in tls_read_pkcs12_blob()