Searched refs:untrustedchain (Results 1 – 1 of 1) sorted by relevance
/php-src/ext/openssl/ |
H A D | openssl.c | 2333 static int check_cert(X509_STORE *ctx, X509 *x, STACK_OF(X509) *untrustedchain, int purpose) in check_cert() argument 2344 if (!X509_STORE_CTX_init(csc, ctx, x, untrustedchain)) { in check_cert() 2370 STACK_OF(X509) *untrustedchain = NULL; in PHP_FUNCTION() 2387 untrustedchain = php_openssl_load_all_certs_from_file(untrusted, untrusted_len, 4); in PHP_FUNCTION() 2388 if (untrustedchain == NULL) { in PHP_FUNCTION() 2403 ret = check_cert(cainfo, cert, untrustedchain, (int)purpose); in PHP_FUNCTION() 2416 if (untrustedchain) { in PHP_FUNCTION() 2417 sk_X509_pop_free(untrustedchain, X509_free); in PHP_FUNCTION()
|
Completed in 19 milliseconds