cert              364 ext/mysqli/mysqli_fe.c 	ZEND_ARG_INFO(0, cert)
cert              372 ext/mysqli/mysqli_fe.c 	ZEND_ARG_INFO(0, cert)
cert             1616 ext/mysqlnd/mysqlnd.c MYSQLND_METHOD(mysqlnd_conn_data, ssl_set)(MYSQLND_CONN_DATA * const conn, const char * key, const char * const cert,
cert             1626 ext/mysqlnd/mysqlnd.c 			PASS == net->data->m.set_client_option(net, MYSQLND_OPT_SSL_CERT, cert) &&
cert              162 ext/mysqlnd/mysqlnd.h #define mysqlnd_ssl_set(conn, key, cert, ca, capath, cipher) ((conn)->data)->m->ssl_set((conn)->data, (key), (cert), (ca), (capath), (cipher))
cert               82 ext/mysqlnd/mysqlnd_libmysql_compat.h #define mysql_ssl_set(c,key,cert,ca,capath,cipher)	mysqlnd_ssl_set((c), (key), (cert), (ca), (capath), (cipher))
cert              148 ext/openssl/openssl.c 	ZEND_ARG_INFO(0, cert)
cert              165 ext/openssl/openssl.c 	ZEND_ARG_INFO(0, cert)
cert              249 ext/openssl/openssl.c 	ZEND_ARG_INFO(0, cert)
cert             1383 ext/openssl/openssl.c 	X509 *cert = NULL;
cert             1424 ext/openssl/openssl.c 		cert = PEM_read_bio_X509(in, NULL, NULL, NULL);
cert             1434 ext/openssl/openssl.c 		cert = (X509 *) PEM_ASN1_read_bio((d2i_of_void *)d2i_X509, PEM_STRING_X509, in, NULL, NULL, NULL);
cert             1436 ext/openssl/openssl.c 		cert = (X509 *) PEM_ASN1_read_bio((char *(*)())d2i_X509, PEM_STRING_X509, in, NULL, NULL, NULL);
cert             1441 ext/openssl/openssl.c 	if (cert && makeresource && resourceval) {
cert             1442 ext/openssl/openssl.c 		*resourceval = zend_register_resource(cert, le_x509);
cert             1444 ext/openssl/openssl.c 	return cert;
cert             1453 ext/openssl/openssl.c 	X509 * cert;
cert             1466 ext/openssl/openssl.c 	cert = php_openssl_x509_from_zval(zcert, 0, &certresource);
cert             1467 ext/openssl/openssl.c 	if (cert == NULL) {
cert             1479 ext/openssl/openssl.c 			X509_print(bio_out, cert);
cert             1481 ext/openssl/openssl.c 		PEM_write_bio_X509(bio_out, cert);
cert             1487 ext/openssl/openssl.c 	if (certresource == NULL && cert) {
cert             1488 ext/openssl/openssl.c 		X509_free(cert);
cert             1776 ext/openssl/openssl.c 	X509 * cert;
cert             1787 ext/openssl/openssl.c 	cert = php_openssl_x509_from_zval(zcert, 0, &certresource);
cert             1788 ext/openssl/openssl.c 	if (cert == NULL) {
cert             1795 ext/openssl/openssl.c 		X509_print(bio_out, cert);
cert             1797 ext/openssl/openssl.c 	if (PEM_write_bio_X509(bio_out, cert)) {
cert             1807 ext/openssl/openssl.c 	if (certresource == NULL && cert) {
cert             1808 ext/openssl/openssl.c 		X509_free(cert);
cert             1842 ext/openssl/openssl.c 	X509 *cert;
cert             1854 ext/openssl/openssl.c 	cert = php_openssl_x509_from_zval(zcert, 0, &certresource);
cert             1855 ext/openssl/openssl.c 	if (cert == NULL) {
cert             1860 ext/openssl/openssl.c 	fingerprint = php_openssl_x509_fingerprint(cert, method, raw_output);
cert             1867 ext/openssl/openssl.c 	if (certresource == NULL && cert) {
cert             1868 ext/openssl/openssl.c 		X509_free(cert);
cert             1877 ext/openssl/openssl.c 	X509 * cert = NULL;
cert             1886 ext/openssl/openssl.c 	cert = php_openssl_x509_from_zval(zcert, 0, &certresource);
cert             1887 ext/openssl/openssl.c 	if (cert == NULL) {
cert             1892 ext/openssl/openssl.c 		RETVAL_BOOL(X509_check_private_key(cert, key));
cert             1898 ext/openssl/openssl.c 	if (certresource == NULL && cert) {
cert             1899 ext/openssl/openssl.c 		X509_free(cert);
cert             1977 ext/openssl/openssl.c 	X509 * cert = NULL;
cert             1992 ext/openssl/openssl.c 	cert = php_openssl_x509_from_zval(zcert, 0, &certresource);
cert             1993 ext/openssl/openssl.c 	if (cert == NULL) {
cert             1998 ext/openssl/openssl.c 	if (cert->name) {
cert             1999 ext/openssl/openssl.c 		add_assoc_string(return_value, "name", cert->name);
cert             2003 ext/openssl/openssl.c 	add_assoc_name_entry(return_value, "subject", 		X509_get_subject_name(cert), useshortnames);
cert             2007 ext/openssl/openssl.c 		snprintf(buf, sizeof(buf), "%08lx", X509_subject_name_hash(cert));
cert             2011 ext/openssl/openssl.c 	add_assoc_name_entry(return_value, "issuer", 		X509_get_issuer_name(cert), useshortnames);
cert             2012 ext/openssl/openssl.c 	add_assoc_long(return_value, "version", 			X509_get_version(cert));
cert             2014 ext/openssl/openssl.c 	add_assoc_string(return_value, "serialNumber", i2s_ASN1_INTEGER(NULL, X509_get_serialNumber(cert)));
cert             2016 ext/openssl/openssl.c 	add_assoc_asn1_string(return_value, "validFrom", 	X509_get_notBefore(cert));
cert             2017 ext/openssl/openssl.c 	add_assoc_asn1_string(return_value, "validTo", 		X509_get_notAfter(cert));
cert             2019 ext/openssl/openssl.c 	add_assoc_long(return_value, "validFrom_time_t", 	asn1_time_to_time_t(X509_get_notBefore(cert)));
cert             2020 ext/openssl/openssl.c 	add_assoc_long(return_value, "validTo_time_t", 		asn1_time_to_time_t(X509_get_notAfter(cert)));
cert             2022 ext/openssl/openssl.c 	tmpstr = (char *)X509_alias_get0(cert, NULL);
cert             2027 ext/openssl/openssl.c 	sig_nid = OBJ_obj2nid((cert)->sig_alg->algorithm);
cert             2046 ext/openssl/openssl.c 		purpset = X509_check_purpose(cert, id, 0);
cert             2049 ext/openssl/openssl.c 		purpset = X509_check_purpose(cert, id, 1);
cert             2064 ext/openssl/openssl.c 	for (i = 0; i < X509_get_ext_count(cert); i++) {
cert             2066 ext/openssl/openssl.c 		extension = X509_get_ext(cert, i);
cert             2081 ext/openssl/openssl.c 				if (certresource == NULL && cert) {
cert             2082 ext/openssl/openssl.c 					X509_free(cert);
cert             2098 ext/openssl/openssl.c 	if (certresource == NULL && cert) {
cert             2099 ext/openssl/openssl.c 		X509_free(cert);
cert             2186 ext/openssl/openssl.c 	X509 * cert = NULL;
cert             2211 ext/openssl/openssl.c 	cert = php_openssl_x509_from_zval(zcert, 0, &certresource);
cert             2212 ext/openssl/openssl.c 	if (cert == NULL) {
cert             2216 ext/openssl/openssl.c 	ret = check_cert(cainfo, cert, untrustedchain, (int)purpose);
cert             2224 ext/openssl/openssl.c 	if (certresource == NULL && cert) {
cert             2225 ext/openssl/openssl.c 		X509_free(cert);
cert             2302 ext/openssl/openssl.c 	zval *cert;
cert             2306 ext/openssl/openssl.c 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &cert) == FAILURE) {
cert             2309 ext/openssl/openssl.c 	x509 = php_openssl_x509_from_zval(cert, 1, &res);
cert             2324 ext/openssl/openssl.c 	X509 *cert;
cert             2329 ext/openssl/openssl.c 	if ((cert = (X509 *)zend_fetch_resource(Z_RES_P(x509), "OpenSSL X.509", le_x509)) == NULL) {
cert             2354 ext/openssl/openssl.c 	X509 * cert;
cert             2362 ext/openssl/openssl.c 			cert = php_openssl_x509_from_zval(zcertval, 0, &certresource);
cert             2363 ext/openssl/openssl.c 			if (cert == NULL) {
cert             2368 ext/openssl/openssl.c 				cert = X509_dup(cert);
cert             2370 ext/openssl/openssl.c 				if (cert == NULL) {
cert             2375 ext/openssl/openssl.c 			sk_X509_push(sk, cert);
cert             2379 ext/openssl/openssl.c 		cert = php_openssl_x509_from_zval(zcerts, 0, &certresource);
cert             2381 ext/openssl/openssl.c 		if (cert == NULL) {
cert             2386 ext/openssl/openssl.c 			cert = X509_dup(cert);
cert             2387 ext/openssl/openssl.c 			if (cert == NULL) {
cert             2391 ext/openssl/openssl.c 		sk_X509_push(sk, cert);
cert             2403 ext/openssl/openssl.c 	X509 * cert = NULL;
cert             2422 ext/openssl/openssl.c 	cert = php_openssl_x509_from_zval(zcert, 0, &certresource);
cert             2423 ext/openssl/openssl.c 	if (cert == NULL) {
cert             2432 ext/openssl/openssl.c 	if (cert && !X509_check_private_key(cert, priv_key)) {
cert             2455 ext/openssl/openssl.c 	p12 = PKCS12_create(pass, friendly_name, priv_key, cert, ca, 0, 0, 0, 0, 0);
cert             2476 ext/openssl/openssl.c 	if (certresource == NULL && cert) {
cert             2477 ext/openssl/openssl.c 		X509_free(cert);
cert             2486 ext/openssl/openssl.c 	X509 * cert = NULL;
cert             2503 ext/openssl/openssl.c 	cert = php_openssl_x509_from_zval(zcert, 0, &certresource);
cert             2504 ext/openssl/openssl.c 	if (cert == NULL) {
cert             2513 ext/openssl/openssl.c 	if (cert && !X509_check_private_key(cert, priv_key)) {
cert             2526 ext/openssl/openssl.c 	p12 = PKCS12_create(pass, friendly_name, priv_key, cert, ca, 0, 0, 0, 0, 0);
cert             2548 ext/openssl/openssl.c 	if (certresource == NULL && cert) {
cert             2549 ext/openssl/openssl.c 		X509_free(cert);
cert             2563 ext/openssl/openssl.c 	X509 * cert = NULL;
cert             2581 ext/openssl/openssl.c 		if(PKCS12_parse(p12, pass, &pkey, &cert, &ca)) {
cert             2588 ext/openssl/openssl.c 			if (PEM_write_bio_X509(bio_out, cert)) {
cert             2652 ext/openssl/openssl.c 	if (cert) {
cert             2653 ext/openssl/openssl.c 		X509_free(cert);
cert             2949 ext/openssl/openssl.c 	X509 * cert = NULL, *new_cert = NULL;
cert             2968 ext/openssl/openssl.c 		cert = php_openssl_x509_from_zval(zcert, 0, &certresource);
cert             2969 ext/openssl/openssl.c 		if (cert == NULL) {
cert             2979 ext/openssl/openssl.c 	if (cert && !X509_check_private_key(cert, priv_key)) {
cert             3020 ext/openssl/openssl.c 	if (cert == NULL) {
cert             3021 ext/openssl/openssl.c 		cert = new_cert;
cert             3023 ext/openssl/openssl.c 	if (!X509_set_issuer_name(new_cert, X509_get_subject_name(cert))) {
cert             3035 ext/openssl/openssl.c 		X509V3_set_ctx(&ctx, cert, new_cert, csr, NULL, 0);
cert             3054 ext/openssl/openssl.c 	if (cert == new_cert) {
cert             3055 ext/openssl/openssl.c 		cert = NULL;
cert             3068 ext/openssl/openssl.c 	if (zcert && certresource == NULL && cert) {
cert             3069 ext/openssl/openssl.c 		X509_free(cert);
cert             3232 ext/openssl/openssl.c 	X509 * cert = NULL;
cert             3288 ext/openssl/openssl.c 			cert = (X509*)what;
cert             3330 ext/openssl/openssl.c 			cert = php_openssl_x509_from_zval(val, 0, &cert_res);
cert             3333 ext/openssl/openssl.c 			if (!cert) {
cert             3368 ext/openssl/openssl.c 	if (public_key && cert && key == NULL) {
cert             3370 ext/openssl/openssl.c 		key = (EVP_PKEY *) X509_get_pubkey(cert);
cert             3373 ext/openssl/openssl.c 	if (free_cert && cert) {
cert             3374 ext/openssl/openssl.c 		X509_free(cert);
cert             3827 ext/openssl/openssl.c 	zval *cert;
cert             3831 ext/openssl/openssl.c 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &cert) == FAILURE) {
cert             3834 ext/openssl/openssl.c 	pkey = php_openssl_evp_from_zval(cert, 1, NULL, 1, &res);
cert             3864 ext/openssl/openssl.c 	zval *cert;
cert             3870 ext/openssl/openssl.c 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|s", &cert, &passphrase, &passphrase_len) == FAILURE) {
cert             3873 ext/openssl/openssl.c 	pkey = php_openssl_evp_from_zval(cert, 0, passphrase, 1, &res);
cert             4200 ext/openssl/openssl.c 	X509 * cert;
cert             4237 ext/openssl/openssl.c 			cert = php_openssl_x509_from_zval(zcertval, 0, &certresource);
cert             4238 ext/openssl/openssl.c 			if (cert == NULL) {
cert             4245 ext/openssl/openssl.c 				cert = X509_dup(cert);
cert             4246 ext/openssl/openssl.c 				if (cert == NULL) {
cert             4250 ext/openssl/openssl.c 			sk_X509_push(recipcerts, cert);
cert             4256 ext/openssl/openssl.c 		cert = php_openssl_x509_from_zval(zrecipcerts, 0, &certresource);
cert             4257 ext/openssl/openssl.c 		if (cert == NULL) {
cert             4264 ext/openssl/openssl.c 			cert = X509_dup(cert);
cert             4265 ext/openssl/openssl.c 			if (cert == NULL) {
cert             4269 ext/openssl/openssl.c 		sk_X509_push(recipcerts, cert);
cert             4323 ext/openssl/openssl.c 	X509 * cert = NULL;
cert             4360 ext/openssl/openssl.c 	cert = php_openssl_x509_from_zval(zcert, 0, &certresource);
cert             4361 ext/openssl/openssl.c 	if (cert == NULL) {
cert             4382 ext/openssl/openssl.c 	p7 = PKCS7_sign(cert, privkey, others, infile, (int)flags);
cert             4417 ext/openssl/openssl.c 	if (cert && certresource == NULL) {
cert             4418 ext/openssl/openssl.c 		X509_free(cert);
cert             4429 ext/openssl/openssl.c 	X509 * cert = NULL;
cert             4446 ext/openssl/openssl.c 	cert = php_openssl_x509_from_zval(recipcert, 0, &certresval);
cert             4447 ext/openssl/openssl.c 	if (cert == NULL) {
cert             4476 ext/openssl/openssl.c 	if (PKCS7_decrypt(p7, key, cert, out, PKCS7_DETACHED)) {
cert             4484 ext/openssl/openssl.c 	if (cert && certresval == NULL) {
cert             4485 ext/openssl/openssl.c 		X509_free(cert);
cert              611 ext/openssl/xp_ssl.c 		der_len = i2d_X509(x509_store_ctx->cert, &der_buf);
cert              688 ext/openssl/xp_ssl.c 			cert_name = X509_get_subject_name(x509_store_ctx->cert);
cert              758 ext/openssl/xp_ssl.c 	X509 *cert;
cert              811 ext/openssl/xp_ssl.c 		cert = PEM_read_bio_X509(buffer, NULL, 0, NULL);
cert              814 ext/openssl/xp_ssl.c 		if (cert && X509_STORE_add_cert(cert_store, cert)) {
cert              932 ext/openssl/xp_ssl.c 				X509 *cert = NULL;
cert              935 ext/openssl/xp_ssl.c 				cert = SSL_get_certificate(tmpssl);
cert              937 ext/openssl/xp_ssl.c 				if (cert) {
cert              938 ext/openssl/xp_ssl.c 					key = X509_get_pubkey(cert);