cafile            755 ext/openssl/xp_ssl.c static long load_stream_cafile(X509_STORE *cert_store, const char *cafile) /* {{{ */
cafile            765 ext/openssl/xp_ssl.c 	stream = php_stream_open_wrapper(cafile, "rb", 0, NULL);
cafile            768 ext/openssl/xp_ssl.c 		php_error(E_WARNING, "failed loading cafile stream: `%s'", cafile);
cafile            828 ext/openssl/xp_ssl.c 		php_error(E_WARNING, "no valid certs found cafile stream: `%s'", cafile);
cafile            838 ext/openssl/xp_ssl.c 	char *cafile = NULL;
cafile            842 ext/openssl/xp_ssl.c 	GET_VER_OPT_STRING("cafile", cafile);
cafile            845 ext/openssl/xp_ssl.c 	if (cafile == NULL) {
cafile            846 ext/openssl/xp_ssl.c 		cafile = zend_ini_string("openssl.cafile", sizeof("openssl.cafile")-1, 0);
cafile            847 ext/openssl/xp_ssl.c 		cafile = strlen(cafile) ? cafile : NULL;
cafile            850 ext/openssl/xp_ssl.c 		STACK_OF(X509_NAME) *cert_names = SSL_load_client_CA_file(cafile);
cafile            864 ext/openssl/xp_ssl.c 	if (cafile || capath) {
cafile            865 ext/openssl/xp_ssl.c 		if (!SSL_CTX_load_verify_locations(ctx, cafile, capath)) {
cafile            866 ext/openssl/xp_ssl.c 			if (cafile && !load_stream_cafile(SSL_CTX_get_cert_store(ctx), cafile)) {