diff options
author | Theo Buehler <tb@openbsd.org> | 2022-09-05 23:48:20 +0200 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2022-09-05 23:48:20 +0200 |
commit | cc60b91ff244bc355ca27a14008e94ea15b5c082 (patch) | |
tree | ae446e22f04d08622daac858393ff6f1a9b6ec57 | |
parent | f64dbe82d25626cd0fa5f60f0f4ba1354ab8e9d3 (diff) | |
download | portable-cc60b91ff244bc355ca27a14008e94ea15b5c082.tar.gz portable-cc60b91ff244bc355ca27a14008e94ea15b5c082.tar.bz2 portable-cc60b91ff244bc355ca27a14008e94ea15b5c082.zip |
Drop long long casts that are now upstream
-rw-r--r-- | patches/rfc5280.c.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/patches/rfc5280.c.patch b/patches/rfc5280.c.patch index 9262183..9807f00 100644 --- a/patches/rfc5280.c.patch +++ b/patches/rfc5280.c.patch | |||
@@ -46,37 +46,3 @@ | |||
46 | { | 46 | { |
47 | .str = "700101000000Z", | 47 | .str = "700101000000Z", |
48 | .data = "700101000000Z", | 48 | .data = "700101000000Z", |
49 | @@ -273,14 +279,14 @@ | ||
50 | |||
51 | if ((i = X509_cmp_time(gt, &att->time)) != -1) { | ||
52 | fprintf(stderr, "FAIL: test %i - X509_cmp_time failed - returned %d compared to %lld\n", | ||
53 | - test_no, i, att->time); | ||
54 | + test_no, i, (long long)att->time); | ||
55 | goto done; | ||
56 | } | ||
57 | |||
58 | att->time--; | ||
59 | if ((i = X509_cmp_time(gt, &att->time)) != 1) { | ||
60 | fprintf(stderr, "FAIL: test %i - X509_cmp_time failed - returned %d compared to %lld\n", | ||
61 | - test_no, i, att->time); | ||
62 | + test_no, i, (long long)att->time); | ||
63 | goto done; | ||
64 | } | ||
65 | att->time++; | ||
66 | @@ -325,14 +331,14 @@ | ||
67 | |||
68 | if ((i = X509_cmp_time(ut, &att->time)) != -1) { | ||
69 | fprintf(stderr, "FAIL: test %i - X509_cmp_time failed - returned %d compared to %lld\n", | ||
70 | - test_no, i, att->time); | ||
71 | + test_no, i, (long long)att->time); | ||
72 | goto done; | ||
73 | } | ||
74 | |||
75 | att->time--; | ||
76 | if ((i = X509_cmp_time(ut, &att->time)) != 1) { | ||
77 | fprintf(stderr, "FAIL: test %i - X509_cmp_time failed - returned %d compared to %lld\n", | ||
78 | - test_no, i, att->time); | ||
79 | + test_no, i, (long long)att->time); | ||
80 | goto done; | ||
81 | } | ||
82 | att->time++; | ||