Home
last modified time | relevance | path

Searched refs:x509_format_tests (Results 1 – 17 of 17) sorted by relevance

/dports/security/openssl/openssl-1.1.1n/test/
H A Dx509_time_test.c52 static TESTDATA_FORMAT x509_format_tests[] = { variable
305 if (x509_format_tests[idx].set_string) { in test_x509_time()
314 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time()
316 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time()
318 idx, x509_format_tests[idx].expected, result); in test_x509_time()
323 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
326 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
332 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
334 x509_format_tests[idx].expected_string, in test_x509_time()
335 strlen(x509_format_tests[idx].expected_string))) { in test_x509_time()
[all …]
/dports/security/openssl-static/openssl-1.1.1l/test/
H A Dx509_time_test.c52 static TESTDATA_FORMAT x509_format_tests[] = { variable
305 if (x509_format_tests[idx].set_string) { in test_x509_time()
314 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time()
316 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time()
318 idx, x509_format_tests[idx].expected, result); in test_x509_time()
323 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
326 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
332 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
334 x509_format_tests[idx].expected_string, in test_x509_time()
335 strlen(x509_format_tests[idx].expected_string))) { in test_x509_time()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dx509_time_test.c52 static TESTDATA_FORMAT x509_format_tests[] = { variable
305 if (x509_format_tests[idx].set_string) { in test_x509_time()
314 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time()
316 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time()
318 idx, x509_format_tests[idx].expected, result); in test_x509_time()
323 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
324 if (!TEST_int_eq(t->type, x509_format_tests[idx].expected_type)) { in test_x509_time()
326 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
332 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
334 x509_format_tests[idx].expected_string)) { in test_x509_time()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dx509_time_test.c52 static TESTDATA_FORMAT x509_format_tests[] = { variable
305 if (x509_format_tests[idx].set_string) { in test_x509_time()
314 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time()
316 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time()
318 idx, x509_format_tests[idx].expected, result); in test_x509_time()
323 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
324 if (!TEST_int_eq(t->type, x509_format_tests[idx].expected_type)) { in test_x509_time()
326 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
332 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
334 x509_format_tests[idx].expected_string)) { in test_x509_time()
[all …]
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dx509_time_test.c52 static TESTDATA_FORMAT x509_format_tests[] = { variable
305 if (x509_format_tests[idx].set_string) { in test_x509_time()
314 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time()
316 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time()
318 idx, x509_format_tests[idx].expected, result); in test_x509_time()
323 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
324 if (!TEST_int_eq(t->type, x509_format_tests[idx].expected_type)) { in test_x509_time()
326 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
332 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
334 x509_format_tests[idx].expected_string)) { in test_x509_time()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dx509_time_test.c52 static TESTDATA_FORMAT x509_format_tests[] = { variable
305 if (x509_format_tests[idx].set_string) { in test_x509_time()
314 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time()
316 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time()
318 idx, x509_format_tests[idx].expected, result); in test_x509_time()
323 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
324 if (!TEST_int_eq(t->type, x509_format_tests[idx].expected_type)) { in test_x509_time()
326 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
332 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
334 x509_format_tests[idx].expected_string)) { in test_x509_time()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dx509_time_test.c52 static TESTDATA_FORMAT x509_format_tests[] = { variable
305 if (x509_format_tests[idx].set_string) { in test_x509_time()
314 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time()
316 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time()
318 idx, x509_format_tests[idx].expected, result); in test_x509_time()
323 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
324 if (!TEST_int_eq(t->type, x509_format_tests[idx].expected_type)) { in test_x509_time()
326 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
332 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
334 x509_format_tests[idx].expected_string)) { in test_x509_time()
[all …]
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dx509_time_test.c52 static TESTDATA_FORMAT x509_format_tests[] = { variable
305 if (x509_format_tests[idx].set_string) { in test_x509_time()
314 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time()
316 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time()
318 idx, x509_format_tests[idx].expected, result); in test_x509_time()
323 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
324 if (!TEST_int_eq(t->type, x509_format_tests[idx].expected_type)) { in test_x509_time()
326 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
332 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
334 x509_format_tests[idx].expected_string)) { in test_x509_time()
[all …]
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dx509_time_test.c52 static TESTDATA_FORMAT x509_format_tests[] = { variable
305 if (x509_format_tests[idx].set_string) { in test_x509_time()
314 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time()
316 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time()
318 idx, x509_format_tests[idx].expected, result); in test_x509_time()
323 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
324 if (!TEST_int_eq(t->type, x509_format_tests[idx].expected_type)) { in test_x509_time()
326 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
332 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
334 x509_format_tests[idx].expected_string)) { in test_x509_time()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dx509_time_test.c52 static TESTDATA_FORMAT x509_format_tests[] = { variable
305 if (x509_format_tests[idx].set_string) { in test_x509_time()
314 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time()
316 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time()
318 idx, x509_format_tests[idx].expected, result); in test_x509_time()
323 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
324 if (!TEST_int_eq(t->type, x509_format_tests[idx].expected_type)) { in test_x509_time()
326 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
332 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
334 x509_format_tests[idx].expected_string)) { in test_x509_time()
[all …]
/dports/sysutils/edk2/edk2-edk2-stable202102/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dx509_time_test.c52 static TESTDATA_FORMAT x509_format_tests[] = {
305 if (x509_format_tests[idx].set_string) {
314 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data);
316 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) {
318 idx, x509_format_tests[idx].expected, result);
323 if (t != NULL && x509_format_tests[idx].expected_type != -1) {
324 if (!TEST_int_eq(t->type, x509_format_tests[idx].expected_type)) {
326 idx, x509_format_tests[idx].expected_type, t->type);
332 if (t != NULL && x509_format_tests[idx].expected_string) {
334 x509_format_tests[idx].expected_string)) {
[all …]
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/test/
H A Dx509_time_test.c52 static TESTDATA_FORMAT x509_format_tests[] = { variable
357 if (x509_format_tests[idx].set_string) { in test_x509_time()
366 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time()
368 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time()
370 idx, x509_format_tests[idx].expected, result); in test_x509_time()
375 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
378 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
384 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
386 x509_format_tests[idx].expected_string, in test_x509_time()
387 strlen(x509_format_tests[idx].expected_string))) { in test_x509_time()
[all …]
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/test/
H A Dx509_time_test.c52 static TESTDATA_FORMAT x509_format_tests[] = {
357 if (x509_format_tests[idx].set_string) {
366 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data);
368 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) {
370 idx, x509_format_tests[idx].expected, result);
375 if (t != NULL && x509_format_tests[idx].expected_type != -1) {
378 idx, x509_format_tests[idx].expected_type, t->type);
384 if (t != NULL && x509_format_tests[idx].expected_string) {
386 x509_format_tests[idx].expected_string,
387 strlen(x509_format_tests[idx].expected_string))) {
[all …]
/dports/security/acmed/acmed-0.18.0/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/test/
H A Dx509_time_test.c52 static TESTDATA_FORMAT x509_format_tests[] = { variable
357 if (x509_format_tests[idx].set_string) { in test_x509_time()
366 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time()
368 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time()
370 idx, x509_format_tests[idx].expected, result); in test_x509_time()
375 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
378 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
384 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
386 x509_format_tests[idx].expected_string, in test_x509_time()
387 strlen(x509_format_tests[idx].expected_string))) { in test_x509_time()
[all …]
/dports/textproc/mdbook-linkcheck/mdbook-linkcheck-0.7.6/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/test/
H A Dx509_time_test.c52 static TESTDATA_FORMAT x509_format_tests[] = { variable
357 if (x509_format_tests[idx].set_string) { in test_x509_time()
366 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time()
368 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time()
370 idx, x509_format_tests[idx].expected, result); in test_x509_time()
375 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
378 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
384 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
386 x509_format_tests[idx].expected_string, in test_x509_time()
387 strlen(x509_format_tests[idx].expected_string))) { in test_x509_time()
[all …]
/dports/security/openssl-devel/openssl-3.0.2/test/
H A Dx509_time_test.c52 static TESTDATA_FORMAT x509_format_tests[] = { variable
357 if (x509_format_tests[idx].set_string) { in test_x509_time()
366 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time()
368 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time()
370 idx, x509_format_tests[idx].expected, result); in test_x509_time()
375 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
378 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
384 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
386 x509_format_tests[idx].expected_string, in test_x509_time()
387 strlen(x509_format_tests[idx].expected_string))) { in test_x509_time()
[all …]
/dports/security/openssl-quictls/openssl-7f2ab56a2b842b8e6fefc7b9d20eb5ff9c6ef151/test/
H A Dx509_time_test.c52 static TESTDATA_FORMAT x509_format_tests[] = { variable
357 if (x509_format_tests[idx].set_string) { in test_x509_time()
366 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time()
368 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time()
370 idx, x509_format_tests[idx].expected, result); in test_x509_time()
375 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
378 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
384 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
386 x509_format_tests[idx].expected_string, in test_x509_time()
387 strlen(x509_format_tests[idx].expected_string))) { in test_x509_time()
[all …]