Home
last modified time | relevance | path

Searched refs:CAfile (Results 1 - 25 of 110) sorted by relevance

12345

/third_party/node/deps/openssl/openssl/apps/
H A Dts.c66 const char *CApath, const char *CAfile,
71 const char *CApath, const char *CAfile,
75 static X509_STORE *create_cert_store(const char *CApath, const char *CAfile,
100 {"CAfile", OPT_CAFILE, '<', "File with trusted CA certs"},
152 " openssl ts -verify -CApath dir -CAfile root-cert.pem -CAstore uri",
161 const char *CAfile = NULL, *prog; in ts_main() local
268 CAfile = opt_arg(); in ts_main()
338 CApath, CAfile, CAstore, untrusted, in ts_main()
848 const char *CApath, const char *CAfile, in verify_command()
869 CApath, CAfile, CAstor in verify_command()
846 verify_command(const char *data, const char *digest, const char *queryfile, const char *in, int token_in, const char *CApath, const char *CAfile, const char *CAstore, char *untrusted, X509_VERIFY_PARAM *vpm) verify_command() argument
893 create_verify_ctx(const char *data, const char *digest, const char *queryfile, const char *CApath, const char *CAfile, const char *CAstore, char *untrusted, X509_VERIFY_PARAM *vpm) create_verify_ctx() argument
970 create_cert_store(const char *CApath, const char *CAfile, const char *CAstore, X509_VERIFY_PARAM *vpm) create_cert_store() argument
[all...]
H A Dx509.c36 static ASN1_INTEGER *x509_load_serial(const char *CAfile,
277 char *infile = NULL, *outfile = NULL, *privkeyfile = NULL, *CAfile = NULL; in x509_main() local
404 CAfile = opt_arg(); in x509_main()
657 CAkeyfile = CAfile; in x509_main()
658 if (CAfile != NULL) { in x509_main()
738 if (CAfile == NULL && sno == NULL) { in x509_main()
767 if (CAfile != NULL) { in x509_main()
768 xca = load_cert_pass(CAfile, CAformat, 1, passin, "CA certificate"); in x509_main()
809 if (CAfile != NULL) { in x509_main()
812 sno = x509_load_serial(CAfile, CAseria in x509_main()
1088 x509_load_serial(const char *CAfile, const char *serialfile, int create) x509_load_serial() argument
[all...]
H A Dverify.c52 {"CAfile", OPT_CAFILE, '<', "A file of trusted certificates"},
55 {"no-CAfile", OPT_NOCAFILE, '-',
87 const char *prog, *CApath = NULL, *CAfile = NULL, *CAstore = NULL; in verify_main() local
132 CAfile = opt_arg(); in verify_main()
202 && (CAfile != NULL || CApath != NULL || CAstore != NULL)) { in verify_main()
204 "%s: Cannot use -trusted with -CAfile, -CApath or -CAstore\n", in verify_main()
209 if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath, in verify_main()
H A Dcrl.c65 {"CAfile", OPT_CAFILE, '<', "Verify CRL using certificates in file name"},
67 {"no-CAfile", OPT_NOCAFILE, '-',
89 const char *CAfile = NULL, *CApath = NULL, *CAstore = NULL, *prog; in crl_main() local
142 CAfile = opt_arg(); in crl_main()
225 if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath, in crl_main()
H A Dreq.c250 const char *infile = NULL, *CAfile = NULL, *CAkeyfile = NULL; in req_main() local
409 CAfile = opt_arg(); in req_main()
757 CAkeyfile = CAfile; in req_main()
759 if (CAfile == NULL) { in req_main()
765 CAkeyfile != CAfile in req_main()
771 if (CAfile != NULL) { in req_main()
772 if ((CAcert = load_cert_pass(CAfile, FORMAT_UNDEF, 1, passin, in req_main()
H A Ds_time.c93 {"CAfile", OPT_CAFILE, '<', "PEM format file of CA's"},
96 {"no-CAfile", OPT_NOCAFILE, '-',
121 char *CApath = NULL, *CAfile = NULL, *CAstore = NULL; in s_time_main() local
175 CAfile = opt_arg(); in s_time_main()
262 if (!ctx_set_verify_locations(ctx, CAfile, noCAfile, CApath, noCApath, in s_time_main()
H A Dsmime.c111 {"CAfile", OPT_CAFILE, '<', "Trusted certificates file"},
113 {"no-CAfile", OPT_NOCAFILE, '-',
145 const char *CAfile = NULL, *CApath = NULL, *CAstore = NULL, *prog = NULL; in smime_main() local
330 CAfile = opt_arg(); in smime_main()
535 if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath, in smime_main()
/third_party/openssl/apps/
H A Dts.c66 const char *CApath, const char *CAfile,
71 const char *CApath, const char *CAfile,
75 static X509_STORE *create_cert_store(const char *CApath, const char *CAfile,
100 {"CAfile", OPT_CAFILE, '<', "File with trusted CA certs"},
152 " openssl ts -verify -CApath dir -CAfile root-cert.pem -CAstore uri",
161 const char *CAfile = NULL, *prog; in ts_main() local
268 CAfile = opt_arg(); in ts_main()
338 CApath, CAfile, CAstore, untrusted, in ts_main()
848 const char *CApath, const char *CAfile, in verify_command()
869 CApath, CAfile, CAstor in verify_command()
846 verify_command(const char *data, const char *digest, const char *queryfile, const char *in, int token_in, const char *CApath, const char *CAfile, const char *CAstore, char *untrusted, X509_VERIFY_PARAM *vpm) verify_command() argument
893 create_verify_ctx(const char *data, const char *digest, const char *queryfile, const char *CApath, const char *CAfile, const char *CAstore, char *untrusted, X509_VERIFY_PARAM *vpm) create_verify_ctx() argument
970 create_cert_store(const char *CApath, const char *CAfile, const char *CAstore, X509_VERIFY_PARAM *vpm) create_cert_store() argument
[all...]
H A Dx509.c36 static ASN1_INTEGER *x509_load_serial(const char *CAfile,
277 char *infile = NULL, *outfile = NULL, *privkeyfile = NULL, *CAfile = NULL; in x509_main() local
404 CAfile = opt_arg(); in x509_main()
657 CAkeyfile = CAfile; in x509_main()
658 if (CAfile != NULL) { in x509_main()
738 if (CAfile == NULL && sno == NULL) { in x509_main()
767 if (CAfile != NULL) { in x509_main()
768 xca = load_cert_pass(CAfile, CAformat, 1, passin, "CA certificate"); in x509_main()
809 if (CAfile != NULL) { in x509_main()
812 sno = x509_load_serial(CAfile, CAseria in x509_main()
1088 x509_load_serial(const char *CAfile, const char *serialfile, int create) x509_load_serial() argument
[all...]
H A Dverify.c52 {"CAfile", OPT_CAFILE, '<', "A file of trusted certificates"},
55 {"no-CAfile", OPT_NOCAFILE, '-',
87 const char *prog, *CApath = NULL, *CAfile = NULL, *CAstore = NULL; in verify_main() local
132 CAfile = opt_arg(); in verify_main()
202 && (CAfile != NULL || CApath != NULL || CAstore != NULL)) { in verify_main()
204 "%s: Cannot use -trusted with -CAfile, -CApath or -CAstore\n", in verify_main()
209 if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath, in verify_main()
H A Dcrl.c65 {"CAfile", OPT_CAFILE, '<', "Verify CRL using certificates in file name"},
67 {"no-CAfile", OPT_NOCAFILE, '-',
89 const char *CAfile = NULL, *CApath = NULL, *CAstore = NULL, *prog; in crl_main() local
142 CAfile = opt_arg(); in crl_main()
225 if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath, in crl_main()
H A Dreq.c250 const char *infile = NULL, *CAfile = NULL, *CAkeyfile = NULL; in req_main() local
409 CAfile = opt_arg(); in req_main()
755 CAkeyfile = CAfile; in req_main()
757 if (CAfile == NULL) { in req_main()
763 CAkeyfile != CAfile in req_main()
769 if (CAfile != NULL) { in req_main()
770 if ((CAcert = load_cert_pass(CAfile, FORMAT_UNDEF, 1, passin, in req_main()
H A Ds_time.c93 {"CAfile", OPT_CAFILE, '<', "PEM format file of CA's"},
96 {"no-CAfile", OPT_NOCAFILE, '-',
121 char *CApath = NULL, *CAfile = NULL, *CAstore = NULL; in s_time_main() local
175 CAfile = opt_arg(); in s_time_main()
262 if (!ctx_set_verify_locations(ctx, CAfile, noCAfile, CApath, noCApath, in s_time_main()
H A Dsmime.c111 {"CAfile", OPT_CAFILE, '<', "Trusted certificates file"},
113 {"no-CAfile", OPT_NOCAFILE, '-',
145 const char *CAfile = NULL, *CApath = NULL, *CAstore = NULL, *prog = NULL; in smime_main() local
330 CAfile = opt_arg(); in smime_main()
534 if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath, in smime_main()
/third_party/openssl/demos/bio/
H A Dsconnect.c31 const char *CAfile = CAFILE; in main() local
44 CAfile = argv[2]; in main()
55 SSL_CTX_load_verify_locations(ssl_ctx, CAfile, NULL); in main()
/third_party/openssl/test/
H A Ddanetest.c32 static const char *CAfile; variable
393 || !TEST_true(SSL_CTX_load_verify_file(ctx, CAfile)) in run_tlsatest()
407 OPT_TEST_DECLARE_USAGE("basedomain CAfile tlsafile\n")
417 || !TEST_ptr(CAfile = test_get_argument(1)) in setup_tests()
/third_party/curl/lib/vtls/
H A Dschannel.c1106 if(conn_config->CAfile || conn_config->ca_info_blob) { in schannel_connect_step1()
1120 if(conn_config->CAfile || conn_config->ca_info_blob) { in schannel_connect_step1()
2805 if(!conn_config->CAfile || !mbackend->CAfile || in Curl_schannel_get_cached_cert_store()
2806 strcmp(mbackend->CAfile, conn_config->CAfile)) { in Curl_schannel_get_cached_cert_store()
2824 char *CAfile = NULL; in Curl_schannel_set_cached_cert_store() local
2855 if(conn_config->CAfile) { in Curl_schannel_set_cached_cert_store()
2856 CAfile = strdup(conn_config->CAfile); in Curl_schannel_set_cached_cert_store()
[all...]
H A Dopenssl.c317 char *CAfile; /* CAfile path used to generate X509 store */ member
3173 (ca_info_blob ? NULL : conn_config->CAfile); in populate_x509_store()
3254 " CAfile: %s CApath: %s", in populate_x509_store()
3265 infof(data, " CAfile: %s", ssl_cafile ? ssl_cafile : "none"); in populate_x509_store()
3344 if(!mb->CAfile || !conn_config->CAfile) in cached_x509_store_different()
3345 return mb->CAfile != conn_config->CAfile; in cached_x509_store_different()
3347 return strcmp(mb->CAfile, conn_confi in cached_x509_store_different()
3389 char *CAfile = NULL; set_cached_x509_store() local
[all...]
H A Dschannel_int.h155 char *CAfile; /* CAfile path used to generate member
H A Dgtls.c473 if(config->CAfile) { in gtls_client_init()
479 config->CAfile, in gtls_client_init()
483 config->CAfile, gnutls_strerror(rc), in gtls_client_init()
491 infof(data, "found %d certificates in %s", rc, config->CAfile); in gtls_client_init()
914 failf(data, "server certificate verification failed. CAfile: %s " in Curl_gtls_verifyserver()
915 "CRLfile: %s", config->CAfile ? config->CAfile: in Curl_gtls_verifyserver()
H A Dschannel_verify.c620 (conn_config->CAfile || conn_config->ca_info_blob) && in Curl_verify_certificate()
666 conn_config->CAfile, in Curl_verify_certificate()
/third_party/node/deps/openssl/openssl/apps/include/
H A Dapps.h153 X509_STORE *setup_verify(const char *CAfile, int noCAfile,
157 const char *CAfile, int noCAfile,
/third_party/openssl/apps/include/
H A Dapps.h153 X509_STORE *setup_verify(const char *CAfile, int noCAfile,
157 const char *CAfile, int noCAfile,
/third_party/node/deps/openssl/openssl/ssl/
H A Dssl_conf.c473 const char *CAfile, const char *CApath, const char *CAstore, in do_store()
502 if (CAfile != NULL && !X509_STORE_load_file_ex(*st, CAfile, libctx, propq)) in do_store()
472 do_store(SSL_CONF_CTX *cctx, const char *CAfile, const char *CApath, const char *CAstore, int verify_store) do_store() argument
/third_party/openssl/ssl/
H A Dssl_conf.c473 const char *CAfile, const char *CApath, const char *CAstore, in do_store()
502 if (CAfile != NULL && !X509_STORE_load_file_ex(*st, CAfile, libctx, propq)) in do_store()
472 do_store(SSL_CONF_CTX *cctx, const char *CAfile, const char *CApath, const char *CAstore, int verify_store) do_store() argument

Completed in 37 milliseconds

12345