diff options
author | tb <> | 2021-12-04 17:03:43 +0000 |
---|---|---|
committer | tb <> | 2021-12-04 17:03:43 +0000 |
commit | 3a179d87bb39ccff314328dd479fa91faab39f53 (patch) | |
tree | 0b78d4e0816c6049d3150cc784c8a686f1b336b3 /src/regress/lib | |
parent | adb17cb8d995d037600723b40eb46194437ab401 (diff) | |
download | openbsd-3a179d87bb39ccff314328dd479fa91faab39f53.tar.gz openbsd-3a179d87bb39ccff314328dd479fa91faab39f53.tar.bz2 openbsd-3a179d87bb39ccff314328dd479fa91faab39f53.zip |
gross trailing whitespace
Diffstat (limited to 'src/regress/lib')
-rw-r--r-- | src/regress/lib/libcrypto/ec/ec_asn1_test.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/regress/lib/libcrypto/ec/ec_asn1_test.c b/src/regress/lib/libcrypto/ec/ec_asn1_test.c index a9b7abaa26..512f5c5250 100644 --- a/src/regress/lib/libcrypto/ec/ec_asn1_test.c +++ b/src/regress/lib/libcrypto/ec/ec_asn1_test.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_asn1_test.c,v 1.1 2021/12/04 05:15:09 jsing Exp $ */ | 1 | /* $OpenBSD: ec_asn1_test.c,v 1.2 2021/12/04 17:03:43 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017, 2021 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2017, 2021 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -28,34 +28,34 @@ const uint8_t ec_secp256r1_pkparameters_named_curve[] = { | |||
28 | }; | 28 | }; |
29 | 29 | ||
30 | const uint8_t ec_secp256r1_pkparameters_parameters[] = { | 30 | const uint8_t ec_secp256r1_pkparameters_parameters[] = { |
31 | 0x30, 0x81, 0xf7, 0x02, 0x01, 0x01, 0x30, 0x2c, | 31 | 0x30, 0x81, 0xf7, 0x02, 0x01, 0x01, 0x30, 0x2c, |
32 | 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x01, | 32 | 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x01, |
33 | 0x01, 0x02, 0x21, 0x00, 0xff, 0xff, 0xff, 0xff, | 33 | 0x01, 0x02, 0x21, 0x00, 0xff, 0xff, 0xff, 0xff, |
34 | 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, | 34 | 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, |
35 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 35 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
36 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 36 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, |
37 | 0xff, 0xff, 0xff, 0xff, 0x30, 0x5b, 0x04, 0x20, | 37 | 0xff, 0xff, 0xff, 0xff, 0x30, 0x5b, 0x04, 0x20, |
38 | 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x01, | 38 | 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x01, |
39 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 39 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
40 | 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, | 40 | 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, |
41 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, | 41 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, |
42 | 0x04, 0x20, 0x5a, 0xc6, 0x35, 0xd8, 0xaa, 0x3a, | 42 | 0x04, 0x20, 0x5a, 0xc6, 0x35, 0xd8, 0xaa, 0x3a, |
43 | 0x93, 0xe7, 0xb3, 0xeb, 0xbd, 0x55, 0x76, 0x98, | 43 | 0x93, 0xe7, 0xb3, 0xeb, 0xbd, 0x55, 0x76, 0x98, |
44 | 0x86, 0xbc, 0x65, 0x1d, 0x06, 0xb0, 0xcc, 0x53, | 44 | 0x86, 0xbc, 0x65, 0x1d, 0x06, 0xb0, 0xcc, 0x53, |
45 | 0xb0, 0xf6, 0x3b, 0xce, 0x3c, 0x3e, 0x27, 0xd2, | 45 | 0xb0, 0xf6, 0x3b, 0xce, 0x3c, 0x3e, 0x27, 0xd2, |
46 | 0x60, 0x4b, 0x03, 0x15, 0x00, 0xc4, 0x9d, 0x36, | 46 | 0x60, 0x4b, 0x03, 0x15, 0x00, 0xc4, 0x9d, 0x36, |
47 | 0x08, 0x86, 0xe7, 0x04, 0x93, 0x6a, 0x66, 0x78, | 47 | 0x08, 0x86, 0xe7, 0x04, 0x93, 0x6a, 0x66, 0x78, |
48 | 0xe1, 0x13, 0x9d, 0x26, 0xb7, 0x81, 0x9f, 0x7e, | 48 | 0xe1, 0x13, 0x9d, 0x26, 0xb7, 0x81, 0x9f, 0x7e, |
49 | 0x90, 0x04, 0x41, 0x04, 0x6b, 0x17, 0xd1, 0xf2, | 49 | 0x90, 0x04, 0x41, 0x04, 0x6b, 0x17, 0xd1, 0xf2, |
50 | 0xe1, 0x2c, 0x42, 0x47, 0xf8, 0xbc, 0xe6, 0xe5, | 50 | 0xe1, 0x2c, 0x42, 0x47, 0xf8, 0xbc, 0xe6, 0xe5, |
51 | 0x63, 0xa4, 0x40, 0xf2, 0x77, 0x03, 0x7d, 0x81, | 51 | 0x63, 0xa4, 0x40, 0xf2, 0x77, 0x03, 0x7d, 0x81, |
52 | 0x2d, 0xeb, 0x33, 0xa0, 0xf4, 0xa1, 0x39, 0x45, | 52 | 0x2d, 0xeb, 0x33, 0xa0, 0xf4, 0xa1, 0x39, 0x45, |
53 | 0xd8, 0x98, 0xc2, 0x96, 0x4f, 0xe3, 0x42, 0xe2, | 53 | 0xd8, 0x98, 0xc2, 0x96, 0x4f, 0xe3, 0x42, 0xe2, |
54 | 0xfe, 0x1a, 0x7f, 0x9b, 0x8e, 0xe7, 0xeb, 0x4a, | 54 | 0xfe, 0x1a, 0x7f, 0x9b, 0x8e, 0xe7, 0xeb, 0x4a, |
55 | 0x7c, 0x0f, 0x9e, 0x16, 0x2b, 0xce, 0x33, 0x57, | 55 | 0x7c, 0x0f, 0x9e, 0x16, 0x2b, 0xce, 0x33, 0x57, |
56 | 0x6b, 0x31, 0x5e, 0xce, 0xcb, 0xb6, 0x40, 0x68, | 56 | 0x6b, 0x31, 0x5e, 0xce, 0xcb, 0xb6, 0x40, 0x68, |
57 | 0x37, 0xbf, 0x51, 0xf5, 0x02, 0x21, 0x00, 0xff, | 57 | 0x37, 0xbf, 0x51, 0xf5, 0x02, 0x21, 0x00, 0xff, |
58 | 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, | 58 | 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, |
59 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xbc, | 59 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xbc, |
60 | 0xe6, 0xfa, 0xad, 0xa7, 0x17, 0x9e, 0x84, 0xf3, | 60 | 0xe6, 0xfa, 0xad, 0xa7, 0x17, 0x9e, 0x84, 0xf3, |
61 | 0xb9, 0xca, 0xc2, 0xfc, 0x63, 0x25, 0x51, 0x02, | 61 | 0xb9, 0xca, 0xc2, 0xfc, 0x63, 0x25, 0x51, 0x02, |
@@ -116,7 +116,7 @@ ec_group_pkparameters_test(const char *label, int asn1_flag, | |||
116 | fprintf(stderr, "FAIL: i2d_ECPKParameters failed\n"); | 116 | fprintf(stderr, "FAIL: i2d_ECPKParameters failed\n"); |
117 | goto done; | 117 | goto done; |
118 | } | 118 | } |
119 | if (compare_data(label, out, len, test_data, test_data_len) == -1) | 119 | if (compare_data(label, out, len, test_data, test_data_len) == -1) |
120 | goto done; | 120 | goto done; |
121 | 121 | ||
122 | p = out; | 122 | p = out; |
@@ -153,7 +153,7 @@ ec_group_pkparameters_test(const char *label, int asn1_flag, | |||
153 | } | 153 | } |
154 | 154 | ||
155 | len = BIO_get_mem_data(bio_mem, &data); | 155 | len = BIO_get_mem_data(bio_mem, &data); |
156 | if (compare_data(label, out, len, test_data, test_data_len) == -1) | 156 | if (compare_data(label, out, len, test_data, test_data_len) == -1) |
157 | goto done; | 157 | goto done; |
158 | 158 | ||
159 | EC_GROUP_free(group_b); | 159 | EC_GROUP_free(group_b); |