Searched refs:cainfo (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/curl/
H A Dinterface.c499 PHP_INI_ENTRY("curl.cainfo", "", PHP_INI_SYSTEM, NULL)
1837 char *cainfo; local
1852 cainfo = INI_STR("openssl.cafile");
1853 if (!(cainfo && cainfo[0] != '\0')) {
1854 cainfo = INI_STR("curl.cainfo");
1856 if (cainfo && cainfo[0] != '\0') {
1857 curl_easy_setopt(ch->cp, CURLOPT_CAINFO, cainfo);
[all...]
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c160 ZEND_ARG_INFO(0, cainfo) /* array */
279 ZEND_ARG_INFO(0, cainfo) /* array */
2172 /* {{{ proto int openssl_x509_checkpurpose(mixed x509cert, int purpose, array cainfo [, string untrustedfile])
2173 Checks the CERT to see if it can be used for the purpose in purpose. cainfo holds information about trusted CAs */
2177 X509_STORE * cainfo = NULL; local
2199 cainfo = setup_verify(zcainfo);
2200 if (cainfo == NULL) {
2208 ret = check_cert(cainfo, cert, untrustedchain, (int)purpose);
2219 if (cainfo) {
2220 X509_STORE_free(cainfo);
4074 zval * cainfo = NULL; local
[all...]

Completed in 13 milliseconds