Home
last modified time | relevance | path

Searched refs:data_file (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/crypto/openssl/test/recipes/
H A D65-test_cmp_vfy.t33 data_file("server.crt"), data_file("client.crt"),
34 data_file("EndEntity1.crt"), data_file("EndEntity2.crt"),
35 data_file("Root_CA.crt"), data_file("Intermediate_CA.crt"),
36 data_file("IR_protected.der"),
37 data_file("IR_unprotected.der"),
38 data_file("IP_waitingStatus_PBM.der"),
39 data_file("IR_rmprotection.der"),
40 data_file("insta.cert.pem"),
41 data_file("insta_ca.cert.pem"),
42 data_file("IR_protected_0_extraCerts.der"),
[all …]
H A D65-test_cmp_protect.t33 data_file("server.pem"),
34 data_file("IR_protected.der"),
35 data_file("IR_unprotected.der"),
36 data_file("IP_PBM.der"),
37 data_file("server.crt"),
38 data_file("server.pem"),
39 data_file("EndEntity1.crt"),
40 data_file("EndEntity2.crt"),
41 data_file("Root_CA.crt"),
42 data_file("Intermediate_CA.crt"));
H A D90-test_includes.t19 ok(run(test(["conf_include_test", data_file("includes.cnf")])), "test directory includes");
20 ok(run(test(["conf_include_test", data_file("includes-file.cnf")])), "test file includes");
21 ok(run(test(["conf_include_test", data_file("includes-eq.cnf")])), "test includes with equal charac…
22 ok(run(test(["conf_include_test", data_file("includes-eq-ws.cnf")])), "test includes with equal and…
24 ok(run(test(["conf_include_test", data_file("vms-includes.cnf")])),
26 ok(run(test(["conf_include_test", data_file("vms-includes-file.cnf")])),
29 ok(run(test(["conf_include_test", "-f", data_file("includes-broken.cnf")])), "test broken includes"…
30 ok(run(test(["conf_include_test", "-f", data_file("incdir.cnf")])), "test includedir");
H A D15-test_ecparam.t24 my @valid = glob(data_file("valid", "*.pem"));
25 my @noncanon = glob(data_file("noncanon", "*.pem"));
26 my @invalid = glob(data_file("invalid", "*.pem"));
130 '-in', data_file('valid', 'secp384r1-explicit.pem'),
135 '-in', data_file('valid', 'secp384r1-named.pem'),
140 '-in', data_file('valid', 'secp112r1-named.pem'),
145 '-in', data_file('valid', 'secp112r1-named.pem'),
152 '-in', data_file('valid', 'secp112r1-named.pem'),
160 '-in', data_file('valid', 'secp112r1-named.pem'),
H A D20-test_dhparam.t92 checkdhparams(data_file("pkcs3-2-1024.pem"), "PKCS3", 2, "PEM", 1024);
96 checkdhparams(data_file("pkcs3-5-1024.pem"), "PKCS3", 5, "PEM", 1024);
100 checkdhparams(data_file("pkcs3-2-2048.pem"), "PKCS3", 2, "PEM", 2048);
104 checkdhparams(data_file("x942-0-1024.pem"), "X9.42", 0, "PEM", 1024);
108 checkdhparams(data_file("pkcs3-2-1024.der"), "PKCS3", 2, "DER", 1024);
112 checkdhparams(data_file("pkcs3-5-1024.der"), "PKCS3", 5, "DER", 1024);
116 checkdhparams(data_file("pkcs3-2-2048.der"), "PKCS3", 2, "DER", 2048);
119 checkdhparams(data_file("x942-0-1024.der"), "X9.42", 0, "DER", 1024);
206 stdin => data_file("pkcs3-2-1024.pem"))),
H A D65-test_cmp_client.t30 data_file("server.key"),
31 data_file("server.crt"),
32 data_file("client.key"),
33 data_file("client.crt"),
34 data_file("client.csr"));
H A D80-test_tsa.t238 "-queryfile", data_file("all-zero.tsq"),
239 "-in", data_file("sectigo-all-zero.tsr"),
240 "-CAfile", data_file("user-trust-ca.pem")])),
244 "-queryfile", data_file("all-zero.tsq"),
245 "-in", data_file("sectigo-all-zero.tsr"),
246 "-untrusted", data_file("user-trust-ca-aaa.pem"),
247 "-CAfile", data_file("comodo-aaa.pem")])),
H A D04-test_pem_reading.t87 my @data = run(app([@common, data_file($input)], stderr => undef), capture => 1);
94 …my @common = ($cmd, "pkey", "-inform", "PEM", "-passin", "file:" . data_file("wellknown"), "-noout…
98 @data = run(app([@common, data_file($input)], stderr => undef), capture => 1);
106 my @data = run(app([@common, data_file("beermug.pem")], stderr => undef), capture => 1);
H A D65-test_cmp_msg.t30 data_file("new.key"),
31 data_file("server.crt"),
32 data_file("pkcs10.der"));
H A D61-test_bio_prefix.t26 my $input_path = data_file($_);
27 my $args_path = data_file($input_result{$_}->[0]);
28 my $expected_path = data_file($input_result{$_}->[1]);
H A D20-test_dhparam_check.t59 my @valid = glob(data_file("valid", "*.pem"));
60 my @invalid = glob(data_file("invalid", "*.pem"));
90 ok(run(app([qw{openssl pkeyparam -text -in}, data_file("valid/dh_ffdhe2048.pem")], stdout => $tmpfi…
H A D15-test_dsaparam.t66 my @valid = glob(data_file("valid", "*.pem"));
67 my @invalid = glob(data_file("invalid", "*.pem"));
H A D04-test_conf.t31 my $input_path = data_file($_);
32 my $expected_path = data_file($input_result{$_});
H A D15-test_mp_rsa.t43 data_file('rsamplcm.pem')])), "checking lcm in key check");
45 my $cleartext = data_file("plain_text");
H A D30-test_evp.t133 data_file("$f")])),
142 data_file("$f")])),
H A D80-test_ocsp.t226 ok(run(test(["ocspapitest", data_file("cert.pem"), data_file("key.pem")])),
H A D04-test_params_conversion.t21 ok(run(test(["params_conversion_test", data_file("$f")])),
H A D10-test_bn.t24 ok(run(test(["bntest", data_file($f)])),
H A D95-test_external_gost_engine.t27 ok(run(cmd(["sh", data_file("gost_engine.sh")])),
H A D95-test_external_pyca.t27 ok(run(cmd(["sh", data_file("cryptography.sh")])),
H A D25-test_pkcs7.t31 my $malformed = data_file('malformed.pkcs7');
/freebsd/tools/tools/netrate/httpd/
H A Dhttpd.c84 int data_file; member
248 statep->data_file = open(statep->path, O_RDONLY); in main()
249 if (statep->data_file < 0) in main()
252 statep->hts[i].hts_fd = statep->data_file; in main()
/freebsd/contrib/ntp/sntp/libevent/sample/
H A Dhttps-client.c220 const char *url = NULL, *data_file = NULL; in main() local
259 data_file = argv[i + 1]; in main()
475 if (data_file) { in main()
479 FILE * f = fopen(data_file, "rb"); in main()
499 r = evhttp_make_request(evcon, req, data_file ? EVHTTP_REQ_POST : EVHTTP_REQ_GET, uri); in main()
/freebsd/contrib/libevent/sample/
H A Dhttps-client.c220 const char *url = NULL, *data_file = NULL; in main() local
259 data_file = argv[i + 1]; in main()
475 if (data_file) { in main()
479 FILE * f = fopen(data_file, "rb"); in main()
499 r = evhttp_make_request(evcon, req, data_file ? EVHTTP_REQ_POST : EVHTTP_REQ_GET, uri); in main()
/freebsd/contrib/sendmail/contrib/
H A Dqtool.pl838 $self->{data_file} = new DataFile($data_dir, $id, $self->{control_file});
845 @result = stat($self->{data_file}->{file_name});
866 if (exists $self->{data_file}->{$key})
868 return $self->{data_file}->{$key};
924 $result = ::move_file($self->{data_file}->{file_name},
951 $self->{data_file}->do_stat();
972 $result = $self->{data_file}->delete();

12