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

/PHP_5_6/ext/openssl/
H A Dopenssl.c156 ZEND_ARG_INFO(0, cainfo) /* array */
275 ZEND_ARG_INFO(0, cainfo) /* array */
2139 /* {{{ proto int openssl_x509_checkpurpose(mixed x509cert, int purpose, array cainfo [, string untrustedfile])
2140 Checks the CERT to see if it can be used for the purpose in purpose. cainfo holds information about trusted CAs */
2144 X509_STORE * cainfo = NULL; local
2165 cainfo = setup_verify(zcainfo TSRMLS_CC);
2166 if (cainfo == NULL) {
2174 ret = check_cert(cainfo, cert, untrustedchain, purpose);
2185 if (cainfo) {
2186 X509_STORE_free(cainfo);
4022 zval * cainfo = NULL; local
[all...]
/PHP_5_6/ext/curl/
H A Dinterface.c499 PHP_INI_ENTRY("curl.cainfo", "", PHP_INI_SYSTEM, NULL)
1909 char *cainfo; local
1924 cainfo = INI_STR("openssl.cafile");
1925 if (!(cainfo && strlen(cainfo) > 0)) {
1926 cainfo = INI_STR("curl.cainfo");
1928 if (cainfo && strlen(cainfo) > 0) {
1929 curl_easy_setopt(ch->cp, CURLOPT_CAINFO, cainfo);
[all...]

Completed in 10 milliseconds