From cc60b91ff244bc355ca27a14008e94ea15b5c082 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Mon, 5 Sep 2022 23:48:20 +0200 Subject: [PATCH] Drop long long casts that are now upstream --- patches/rfc5280.c.patch | 34 ---------------------------------- 1 file changed, 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 @@ { .str = "700101000000Z", .data = "700101000000Z", -@@ -273,14 +279,14 @@ - - if ((i = X509_cmp_time(gt, &att->time)) != -1) { - fprintf(stderr, "FAIL: test %i - X509_cmp_time failed - returned %d compared to %lld\n", -- test_no, i, att->time); -+ test_no, i, (long long)att->time); - goto done; - } - - att->time--; - if ((i = X509_cmp_time(gt, &att->time)) != 1) { - fprintf(stderr, "FAIL: test %i - X509_cmp_time failed - returned %d compared to %lld\n", -- test_no, i, att->time); -+ test_no, i, (long long)att->time); - goto done; - } - att->time++; -@@ -325,14 +331,14 @@ - - if ((i = X509_cmp_time(ut, &att->time)) != -1) { - fprintf(stderr, "FAIL: test %i - X509_cmp_time failed - returned %d compared to %lld\n", -- test_no, i, att->time); -+ test_no, i, (long long)att->time); - goto done; - } - - att->time--; - if ((i = X509_cmp_time(ut, &att->time)) != 1) { - fprintf(stderr, "FAIL: test %i - X509_cmp_time failed - returned %d compared to %lld\n", -- test_no, i, att->time); -+ test_no, i, (long long)att->time); - goto done; - } - att->time++;