Home
last modified time | relevance | path

Searched refs:certfile (Results 1 – 3 of 3) sorted by relevance

/PHP-7.2/ext/openssl/tests/
H A Dopenssl_pkcs7_read_basic.phpt8 $certfile = file_get_contents(dirname(__FILE__) . "/cert.crt");
14 var_dump(openssl_pkcs7_read($certfile, $result));
/PHP-7.2/ext/openssl/
H A Dxp_ssl.c914 char *certfile = NULL; in php_openssl_set_local_cert() local
916 GET_VER_OPT_STRING("local_cert", certfile); in php_openssl_set_local_cert()
918 if (certfile) { in php_openssl_set_local_cert()
922 if (VCWD_REALPATH(certfile, resolved_path_buff)) { in php_openssl_set_local_cert()
928 certfile); in php_openssl_set_local_cert()
H A Dopenssl.c833 static STACK_OF(X509) * php_openssl_load_all_certs_from_file(char *certfile);
2459 static STACK_OF(X509) *php_openssl_load_all_certs_from_file(char *certfile) in STACK_OF()
2472 if (php_openssl_open_base_dir_chk(certfile)) { in STACK_OF()
2477 if (!(in=BIO_new_file(certfile, PHP_OPENSSL_BIO_MODE_R(PKCS7_BINARY)))) { in STACK_OF()
2479 php_error_docref(NULL, E_WARNING, "error opening the file, %s", certfile); in STACK_OF()
2487 php_error_docref(NULL, E_WARNING, "error reading the file, %s", certfile); in STACK_OF()
2502 php_error_docref(NULL, E_WARNING, "no certificates in file, %s", certfile); in STACK_OF()

Completed in 26 milliseconds