cafile 735 ext/openssl/xp_ssl.c static long load_stream_cafile(X509_STORE *cert_store, const char *cafile TSRMLS_DC) /* {{{ */ cafile 745 ext/openssl/xp_ssl.c stream = php_stream_open_wrapper(cafile, "rb", 0, NULL); cafile 748 ext/openssl/xp_ssl.c php_error(E_WARNING, "failed loading cafile stream: `%s'", cafile); cafile 808 ext/openssl/xp_ssl.c php_error(E_WARNING, "no valid certs found cafile stream: `%s'", cafile); cafile 818 ext/openssl/xp_ssl.c char *cafile = NULL; cafile 822 ext/openssl/xp_ssl.c GET_VER_OPT_STRING("cafile", cafile); cafile 825 ext/openssl/xp_ssl.c if (cafile == NULL) { cafile 826 ext/openssl/xp_ssl.c cafile = zend_ini_string("openssl.cafile", sizeof("openssl.cafile"), 0); cafile 827 ext/openssl/xp_ssl.c cafile = strlen(cafile) ? cafile : NULL; cafile 830 ext/openssl/xp_ssl.c STACK_OF(X509_NAME) *cert_names = SSL_load_client_CA_file(cafile); cafile 844 ext/openssl/xp_ssl.c if (cafile || capath) { cafile 845 ext/openssl/xp_ssl.c if (!SSL_CTX_load_verify_locations(ctx, cafile, capath)) { cafile 846 ext/openssl/xp_ssl.c if (cafile && !load_stream_cafile(SSL_CTX_get_cert_store(ctx), cafile TSRMLS_CC)) {