diff options
| author | tb <> | 2026-06-04 11:40:51 +0000 |
|---|---|---|
| committer | tb <> | 2026-06-04 11:40:51 +0000 |
| commit | 4def2bb5be9ee8d1739cad6d043a4da42e1ca39f (patch) | |
| tree | 71b3b19e43254b3590892d6f0a7a7e3eeb0276c8 /src | |
| parent | 220b0356be08906dac6ccaa9ba6cf9e0289b3435 (diff) | |
| download | openbsd-4def2bb5be9ee8d1739cad6d043a4da42e1ca39f.tar.gz openbsd-4def2bb5be9ee8d1739cad6d043a4da42e1ca39f.tar.bz2 openbsd-4def2bb5be9ee8d1739cad6d043a4da42e1ca39f.zip | |
rfc3779: whitespace fixes
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/x509/rfc3779/rfc3779.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/regress/lib/libcrypto/x509/rfc3779/rfc3779.c b/src/regress/lib/libcrypto/x509/rfc3779/rfc3779.c index 9c3c013fba..b860970681 100644 --- a/src/regress/lib/libcrypto/x509/rfc3779/rfc3779.c +++ b/src/regress/lib/libcrypto/x509/rfc3779/rfc3779.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: rfc3779.c,v 1.15 2026/05/22 05:02:46 tb Exp $ */ | 1 | /* $OpenBSD: rfc3779.c,v 1.16 2026/06/04 11:40:51 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2021 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2021 Theo Buehler <tb@openbsd.org> |
| 4 | * | 4 | * |
| @@ -229,7 +229,7 @@ const struct IPAddressOrRange_test IPAddressOrRange_test_data[] = { | |||
| 229 | 0x03, 0x04, 0x06, 0xc4, 0x01, 0x00, | 229 | 0x03, 0x04, 0x06, 0xc4, 0x01, 0x00, |
| 230 | }, | 230 | }, |
| 231 | .der_len = 14, | 231 | .der_len = 14, |
| 232 | .afi = IANA_AFI_IPV4, | 232 | .afi = IANA_AFI_IPV4, |
| 233 | .min = { | 233 | .min = { |
| 234 | 0xc4, 0x01, 0x07, 0x00, | 234 | 0xc4, 0x01, 0x07, 0x00, |
| 235 | }, | 235 | }, |
| @@ -987,7 +987,7 @@ build_addr_block_test(const struct build_addr_block_test_data *test) | |||
| 987 | " failed\n", __func__, test->description); | 987 | " failed\n", __func__, test->description); |
| 988 | goto err; | 988 | goto err; |
| 989 | } | 989 | } |
| 990 | if (test->afis[i] != afi){ | 990 | if (test->afis[i] != afi) { |
| 991 | fprintf(stderr, "%s: \"%s\" afi[%d] mismatch. " | 991 | fprintf(stderr, "%s: \"%s\" afi[%d] mismatch. " |
| 992 | "want: %u, got: %u\n", __func__, | 992 | "want: %u, got: %u\n", __func__, |
| 993 | test->description, i, test->afis[i], afi); | 993 | test->description, i, test->afis[i], afi); |
| @@ -1528,7 +1528,6 @@ build_asid_test(const struct ASIdentifiers_build_test *test) | |||
| 1528 | goto err; | 1528 | goto err; |
| 1529 | } | 1529 | } |
| 1530 | 1530 | ||
| 1531 | |||
| 1532 | memcmp_failed = (size_t)out_len != test->der_len; | 1531 | memcmp_failed = (size_t)out_len != test->der_len; |
| 1533 | if (!memcmp_failed) | 1532 | if (!memcmp_failed) |
| 1534 | memcmp_failed = memcmp(out, test->der, test->der_len); | 1533 | memcmp_failed = memcmp(out, test->der, test->der_len); |
