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

/PHP_TRUNK/ext/openssl/
H A Dopenssl.c160 ZEND_ARG_INFO(0, cainfo) /* array */
279 ZEND_ARG_INFO(0, cainfo) /* array */
2153 /* {{{ proto int openssl_x509_checkpurpose(mixed x509cert, int purpose, array cainfo [, string untrustedfile])
2154 Checks the CERT to see if it can be used for the purpose in purpose. cainfo holds information about trusted CAs */
2158 X509_STORE * cainfo = NULL; local
2180 cainfo = setup_verify(zcainfo);
2181 if (cainfo == NULL) {
2189 ret = check_cert(cainfo, cert, untrustedchain, (int)purpose);
2200 if (cainfo) {
2201 X509_STORE_free(cainfo);
4047 zval * cainfo = NULL; local
[all...]
/PHP_TRUNK/ext/curl/
H A Dinterface.c499 PHP_INI_ENTRY("curl.cainfo", "", PHP_INI_SYSTEM, NULL)
1836 char *cainfo; local
1851 cainfo = INI_STR("openssl.cafile");
1852 if (!(cainfo && cainfo[0] != '\0')) {
1853 cainfo = INI_STR("curl.cainfo");
1855 if (cainfo && cainfo[0] != '\0') {
1856 curl_easy_setopt(ch->cp, CURLOPT_CAINFO, cainfo);
[all...]

Completed in 10 milliseconds