| /freebsd/crypto/openssl/test/recipes/ |
| H A D | 25-test_verify.t | 36 ok(verify("ee-cert", "sslserver", ["root-cert"], ["ca-cert"]), 40 ok(!verify("ee-cert", "sslserver", [qw(root-nonca)], [qw(ca-cert)]), 42 ok(!verify("ee-cert", "sslserver", [qw(nroot+serverAuth)], [qw(ca-cert)]), 44 ok(!verify("ee-cert", "sslserver", [qw(nroot+anyEKU)], [qw(ca-cert)]), 46 ok(!verify("ee-cert", "sslserver", [qw(root-cert2)], [qw(ca-cert)]), 48 ok(!verify("ee-cert", "sslserver", [qw(root-name2)], [qw(ca-cert)]), 53 ok(verify("ee-cert-noncrit-unknown-ext", "", ["root-cert"], ["ca-cert"]), 55 ok(!verify("ee-cert-crit-unknown-ext", "", ["root-cert"], ["ca-cert"]), 57 ok(verify("ee-cert-ocsp-nocheck", "", ["root-cert"], ["ca-cert"]), 62 ok(verify("ee-cert", "sslserver", [qw(sroot-cert)], [qw(ca-cert)]), [all …]
|
| H A D | 03-test_fipsinstall.t | 140 ok(!run(app(['openssl', 'fipsinstall', '-out', 'fips.cnf', '-module', 147 ok(!run(app(['openssl', 'fipsinstall', '-in', 'dummy.tmp', '-module', $infile, 154 ok(run(app(['openssl', 'fipsinstall', '-out', 'fips.cnf', '-module', $infile, 161 ok(run(app(['openssl', 'fipsinstall', '-in', 'fips.cnf', '-module', $infile, 176 ok(find_line_file('install-mac = ', 'fips.cnf') == 1, 179 ok(find_line_file('install-status = INSTALL_SELF_TEST_KATS_RUN', 189 ok(replace_line_file('module-mac', '', 'fips_no_module_mac.cnf') 198 ok(replace_line_file('install-mac', '', 'fips_no_install_mac.cnf') 207 ok(replace_line_file('module-mac', '00:00:00:00:00:00', 217 ok(replace_line_file('install-mac', '00:00:00:00:00:00', [all …]
|
| H A D | 20-test_speed.t | 22 ok(run(app(['openssl', 'speed', '-testmode'])), 34 ok(run(app(['openssl', 'speed', '-testmode', '-multi', 2])), 38 ok(run(app(['openssl', 'speed', '-testmode', '-misalign', 1])), 50 ok(run(app(['openssl', 'speed', '-testmode', '-mb', '-evp', 55 ok(run(app(['openssl', 'speed', '-testmode', '-kem-algorithms'])), 58 ok(run(app(['openssl', 'speed', '-testmode', '-signature-algorithms'])), 61 ok(run(app(['openssl', 'speed', '-testmode', '-primes', 3, 'rsa1024'])), 64 ok(run(app(['openssl', 'speed', '-testmode', '-mr'])), 67 ok(run(app(['openssl', 'speed', '-testmode', '-decrypt', '-evp', 'aes-128-cbc'])), 70 ok(run(app(['openssl', 'speed', '-testmode', '-evp', 'sha256'])), [all …]
|
| H A D | 80-test_pkcs12.t | 62 ok(run(test(["pkcs12_format_test"])), "test pkcs12 formats"); 64 ok(run(test(["pkcs12_format_test", "-legacy"])), "test pkcs12 formats using legacy APIs"); 66 ok(run(test(["pkcs12_format_test", "-context"])), "test pkcs12 formats using a non-default library … 73 ok(run(app(["openssl", "pkcs12", "-noout", 89 ok(run(app(["openssl", "pkcs12", "-export", "-chain", 100 ok(run(app(["openssl", "pkcs12", "-export", 113 ok(run(app(["openssl", "pkcs12", "-export", 124 ok(run(app(["openssl", "pkcs12", "-export", 133 ok(scalar @match > 0 ? 0 : 1, "test_export_pkcs12_outerr_empty"); 135 ok(run(app(["openssl", "pkcs12", [all …]
|
| H A D | 25-test_req.t | 47 ok( run(app([@addext_args, "-addext", $val]))); 48 ok( run(app([@addext_args, "-addext", $val1]))); 50 ok(!run(app([@addext_args, "-addext", $val1]))); 51 ok(!run(app([@addext_args, "-addext", $val, "-addext", $val]))); 52 ok(!run(app([@addext_args, "-addext", $val, "-addext", $val2]))); 53 ok(!run(app([@addext_args, "-addext", $val, "-addext", $val3]))); 54 ok(!run(app([@addext_args, "-addext", $val2, "-addext", $val3]))); 55 ok(run(app([@addext_args, "-addext", "SXNetID=1:one, 2:two, 3:three"]))); 56 ok(run(app([@addext_args, "-addext", "subjectAltName=dirName:dirname_sec"]))); 58 ok(run(app([@addext_args, "-addext", "keyUsage=digitalSignature", [all …]
|
| H A D | 80-test_ssl_old.t | 163 ok(replace_kv_file($fipsmodcfg, 190 ok(run(app([@reqcmd, "-config", $cnf, 196 ok(run(app([@x509cmd, "-CAcreateserial", "-in", $CAreq, "-days", "30", 203 ok(run(app([@x509cmd, "-in", $CAcert, 209 ok(run(app([@reqcmd, "-config", $dummycnf, 215 ok(run(app([@reqcmd, "-config", $dummycnf, 220 ok(run(app([@verifycmd, "-CAfile", $CAcert, $CAcert])), 224 ok(run(app([@reqcmd, "-config", $cnf, "-section", "userreq", 230 ok(run(app([@x509cmd, "-CAcreateserial", "-in", $Ureq, "-days", "30", 239 ok(run(app([@x509cmd, [all …]
|
| H A D | 15-test_rsapss.t | 22 ok(run(app(['openssl', 'dgst', '-sign', srctop_file('test', 'testrsa.pem'), '-sha1', 30 ok(run(app(['openssl', 'dgst', '-sign', srctop_file('test', 'testrsa.pem'), '-sha1', 36 ok(!run(app(['openssl', 'dgst', '-sign', srctop_file('test', 'testrsa.pem'), '-sha512', 41 ok(!run(app(['openssl', 'dgst', '-sign', srctop_file('test', 'testrsa.pem'), '-sha512', 46 ok(!run(app(['openssl', 'dgst', '-prverify', srctop_file('test', 'testrsa.pem'), '-sha512', 52 ok(run(app(['openssl', 'dgst', '-prverify', srctop_file('test', 'testrsa.pem'), 61 ok(run(app(['openssl', 'dgst', '-prverify', srctop_file('test', 'testrsa.pem'), 70 ok(run(app(['openssl', 'dgst', '-prverify', srctop_file('test', 'testrsa.pem'), 79 ok(run(app(['openssl', 'dgst', '-prverify', srctop_file('test', 'testrsa.pem'), 86 ok(run(app(['openssl', 'dgst', '-sign', srctop_file('test', 'testrsa.pem'), '-sha1', [all …]
|
| H A D | 20-test_cli_fips.t | 42 ok(run(app(['openssl', 'list', '-public-key-methods', '-verbose'])), 44 ok(run(app(['openssl', 'list', '-public-key-algorithms', '-verbose'])), 46 ok(run(app(['openssl', 'list', '-key-managers', '-verbose'])), 48 ok(run(app(['openssl', 'list', '-key-exchange-algorithms', '-verbose'])), 50 ok(run(app(['openssl', 'list', '-kem-algorithms', '-verbose'])), 52 ok(run(app(['openssl', 'list', '-signature-algorithms', '-verbose'])), 54 ok(run(app(['openssl', 'list', '-tls-signature-algorithms', '-verbose'])), 56 ok(run(app(['openssl', 'list', '-asymcipher-algorithms', '-verbose'])), 58 ok(run(app(['openssl', 'list', '-key-managers', '-verbose', '-select', 'DSA' ])), 67 ok(run(app(['openssl', 'pkey', [all …]
|
| H A D | 15-test_gendsa.t | 33 ok(run(app([ 'openssl', 'genpkey', '-genparam', 40 ok(run(app([ 'openssl', 'genpkey', '-genparam', 46 ok(run(app([ 'openssl', 'genpkey', '-genparam', 54 ok(run(app([ 'openssl', 'genpkey', '-genparam', 60 ok(run(app([ 'openssl', 'genpkey', '-genparam', 67 ok(!run(app([ 'openssl', 'genpkey', '-algorithm', 'DSA', 72 ok(run(app([ 'openssl', 'genpkey', '-genparam', 79 ok(run(app([ 'openssl', 'genpkey', '-genparam', 89 ok(run(app([ 'openssl', 'genpkey', 97 ok(run(app([ 'openssl', 'genpkey', [all …]
|
| /freebsd/usr.sbin/ctld/ |
| H A D | parse.y | 159 bool ok; variable 161 ok = conf_set_pidfile_path($2); 163 if (!ok) 170 bool ok; variable 172 ok = isns_add_server($2); 174 if (!ok) 218 bool ok; variable 220 ok = auth_group_start($1); 222 if (!ok) 252 bool ok; variable [all …]
|
| /freebsd/tests/sys/mac/portacl/ |
| H A D | root_test.sh | 15 bind_test ok ok uid root tcp 77 16 bind_test ok ok uid root tcp 7777 17 bind_test ok ok uid root udp 77 18 bind_test ok ok uid root udp 7777 20 bind_test ok ok gid root tcp 77 21 bind_test ok ok gid root tcp 7777 22 bind_test ok ok gid root udp 77 23 bind_test ok ok gid root udp 7777 29 bind_test fl ok uid root tcp 77 30 bind_test ok ok uid root tcp 7777 [all …]
|
| H A D | nobody_test.sh | 19 bind_test ok ok uid nobody tcp 7777 21 bind_test ok ok uid nobody udp 7777 24 bind_test ok ok gid nobody tcp 7777 26 bind_test ok ok gid nobody udp 7777 31 bind_test ok ok uid nobody tcp 7777 33 bind_test ok ok uid nobody udp 7777 36 bind_test ok ok gid nobody tcp 7777 38 bind_test ok ok gid nobody udp 7777 45 bind_test fl ok uid nobody tcp 7777 47 bind_test fl ok uid nobody udp 7777 [all …]
|
| /freebsd/bin/sh/tests/builtins/ |
| H A D | locale1.0 | 20 *"$msgeng"*) ok=1 ;; 21 *) ok=0 ;; 23 check '$ok -eq 1' $LINENO 27 *"$msgeng"*) ok=1 ;; 28 *) ok=0 ;; 30 check '$ok -eq 1' $LINENO 33 *"$msgeng"*) ok=1 ;; 34 *) ok=0 ;; 36 check '$ok -eq 1' $LINENO 39 *"$msgeng"*) ok=1 ;; [all …]
|
| /freebsd/contrib/expat/doc/ |
| H A D | ok.min.css | 2 …ok-sans:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantare…
|
| /freebsd/contrib/pam-krb5/tests/pam-util/ |
| H A D | vector-t.c | 43 ok(vector != NULL, "vector_new returns non-NULL"); in main() 46 ok(vector_add(vector, cstring), "vector_add succeeds"); in main() 48 ok(vector->strings[0] != cstring, "...and allocated new memory"); in main() 49 ok(vector_resize(vector, 4), "vector_resize succeeds"); in main() 51 ok(vector_add(vector, cstring), "vector_add #2"); in main() 52 ok(vector_add(vector, cstring), "vector_add #3"); in main() 53 ok(vector_add(vector, cstring), "vector_add #4"); in main() 60 ok(vector->strings[1] != vector->strings[2], "each pointer is different"); in main() 61 ok(vector->strings[2] != vector->strings[3], "each pointer is different"); in main() 62 ok(vector->strings[3] != vector->strings[0], "each pointer is different"); in main() [all …]
|
| /freebsd/tools/regression/poll/7/ |
| H A D | pipepoll.out | 2 ok 1 Pipe state 4: expected 0; got 0 3 ok 2 Pipe state 5: expected POLLIN; got POLLIN 4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP 5 not ok 4 Pipe state 6a: expected POLLHUP; got POLLIN | POLLHUP 6 ok 5 Sock state 4: expected 0; got 0 7 ok 6 Sock state 5: expected POLLIN; got POLLIN 8 not ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN 9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN 10 ok 9 FIFO state 0: expected 0; got 0 11 ok 10 FIFO state 1: expected 0; got 0 [all …]
|
| H A D | pipeselect.out | 2 ok 1 Pipe state 4: expected clear; got clear 3 ok 2 Pipe state 5: expected set; got set 4 ok 3 Pipe state 6: expected set; got set 5 ok 4 Pipe state 6a: expected set; got set 6 ok 5 Sock state 4: expected clear; got clear 7 ok 6 Sock state 5: expected set; got set 8 ok 7 Sock state 6: expected set; got set 9 ok 8 Sock state 6a: expected set; got set 10 ok 9 FIFO state 0: expected clear; got clear 11 ok 10 FIFO state 1: expected clear; got clear [all …]
|
| /freebsd/tools/regression/poll/l/ |
| H A D | pipepoll.out | 2 ok 1 Pipe state 4: expected 0; got 0 3 ok 2 Pipe state 5: expected POLLIN; got POLLIN 4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP 5 ok 4 Pipe state 6a: expected POLLHUP; got POLLHUP 6 ok 5 Sock state 4: expected 0; got 0 7 ok 6 Sock state 5: expected POLLIN; got POLLIN 8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP 9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN | POLLHUP 10 ok 9 FIFO state 0: expected 0; got 0 11 ok 10 FIFO state 1: expected 0; got 0 [all …]
|
| H A D | pipeselect.out | 2 ok 1 Pipe state 4: expected clear; got clear 3 ok 2 Pipe state 5: expected set; got set 4 ok 3 Pipe state 6: expected set; got set 5 ok 4 Pipe state 6a: expected set; got set 6 ok 5 Sock state 4: expected clear; got clear 7 ok 6 Sock state 5: expected set; got set 8 ok 7 Sock state 6: expected set; got set 9 ok 8 Sock state 6a: expected set; got set 10 not ok 9 FIFO state 0: expected set; got clear 11 ok 10 FIFO state 1: expected clear; got clear [all …]
|
| /freebsd/tools/regression/poll/m/ |
| H A D | pipepoll.out | 2 ok 1 Pipe state 4: expected 0; got 0 3 ok 2 Pipe state 5: expected POLLIN; got POLLIN 4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP 5 ok 4 Pipe state 6a: expected POLLHUP; got POLLHUP 6 ok 5 Sock state 4: expected 0; got 0 7 ok 6 Sock state 5: expected POLLIN; got POLLIN 8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP 9 ok 8 Sock state 6a: expected POLLHUP; got POLLHUP 10 ok 9 FIFO state 0: expected 0; got 0 11 ok 10 FIFO state 1: expected 0; got 0 [all …]
|
| H A D | pipeselect.out | 2 ok 1 Pipe state 4: expected clear; got clear 3 ok 2 Pipe state 5: expected set; got set 4 ok 3 Pipe state 6: expected set; got set 5 ok 4 Pipe state 6a: expected set; got set 6 ok 5 Sock state 4: expected clear; got clear 7 ok 6 Sock state 5: expected set; got set 8 ok 7 Sock state 6: expected set; got set 9 ok 8 Sock state 6a: expected set; got set 10 not ok 9 FIFO state 0: expected set; got clear 11 ok 10 FIFO state 1: expected clear; got clear [all …]
|
| /freebsd/tools/regression/poll/n/ |
| H A D | pipepoll.out | 2 ok 1 Pipe state 4: expected 0; got 0 3 ok 2 Pipe state 5: expected POLLIN; got POLLIN 4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP 5 ok 4 Pipe state 6a: expected POLLHUP; got POLLHUP 6 ok 5 Sock state 4: expected 0; got 0 7 ok 6 Sock state 5: expected POLLIN; got POLLIN 8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP 9 ok 8 Sock state 6a: expected POLLHUP; got POLLHUP 10 ok 9 FIFO state 0: expected 0; got 0 11 ok 10 FIFO state 1: expected 0; got 0 [all …]
|
| /freebsd/crypto/openssl/test/radix/ |
| H A D | quic_ops.c | 19 int ok = 0; in DEF_FUNC() local 25 ok = 1; in DEF_FUNC() 27 return ok; in DEF_FUNC() 77 int ok = 0; in ssl_create_bound_socket() local 109 ok = 1; in ssl_create_bound_socket() 111 if (!ok && fd >= 0) in ssl_create_bound_socket() 113 else if (ok) { in ssl_create_bound_socket() 119 return ok; in ssl_create_bound_socket() 186 int ok = 0; in DEF_FUNC() local 236 ok = 1; in DEF_FUNC() [all …]
|
| /freebsd/tools/regression/poll/4/ |
| H A D | pipepoll.out | 2 ok 1 Pipe state 4: expected 0; got 0 3 ok 2 Pipe state 5: expected POLLIN; got POLLIN 4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP 5 not ok 4 Pipe state 6a: expected POLLHUP; got POLLIN | POLLHUP 6 ok 5 Sock state 4: expected 0; got 0 7 ok 6 Sock state 5: expected POLLIN; got POLLIN 8 not ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN 9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN 10 not ok 9 FIFO state 0: expected 0; got POLLIN 11 ok 10 FIFO state 1: expected 0; got 0 [all …]
|
| H A D | pipeselect.out | 2 ok 1 Pipe state 4: expected clear; got clear 3 ok 2 Pipe state 5: expected set; got set 4 ok 3 Pipe state 6: expected set; got set 5 ok 4 Pipe state 6a: expected set; got set 6 ok 5 Sock state 4: expected clear; got clear 7 ok 6 Sock state 5: expected set; got set 8 ok 7 Sock state 6: expected set; got set 9 ok 8 Sock state 6a: expected set; got set 10 not ok 9 FIFO state 0: expected clear; got set 11 ok 10 FIFO state 1: expected clear; got clear [all …]
|