diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-07-10 23:40:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-07-10 23:40:16 +0100 |
commit | 51af5f0eb4cddbe6aa7953717873691d77aae9ff (patch) | |
tree | 1541525274162b033ebbc3ed38abaf335fbbd49a /app-crypt/p11-kit/files | |
parent | 7014a5a3ea0feffab9701fdd6b64cc7667a985af (diff) |
gentoo resync : 11.07.2019
Diffstat (limited to 'app-crypt/p11-kit/files')
-rw-r--r-- | app-crypt/p11-kit/files/p11-kit-0.23.12-mktime.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app-crypt/p11-kit/files/p11-kit-0.23.12-mktime.patch b/app-crypt/p11-kit/files/p11-kit-0.23.12-mktime.patch new file mode 100644 index 000000000000..7cc0baada973 --- /dev/null +++ b/app-crypt/p11-kit/files/p11-kit-0.23.12-mktime.patch @@ -0,0 +1,26 @@ +From 3d009fda4cb39157d6876e7d16cbc57f7b59bc86 Mon Sep 17 00:00:00 2001 +From: Alon Bar-Lev <alon.barlev@gmail.com> +Date: Mon, 1 Jul 2019 13:38:25 +0300 +Subject: [PATCH] trust: do not allow daylight to invalidate date validation + +Issue: 235 +Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> +--- + trust/builder.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/trust/builder.c b/trust/builder.c +index d819dc8..2fc0c40 100644 +--- a/trust/builder.c ++++ b/trust/builder.c +@@ -261,6 +261,7 @@ type_date (p11_builder *builder, + return false; + + memcpy (&two, &tm, sizeof (tm)); ++ two.tm_isdst = -1; // do not perform tz fixup + if (mktime (&two) < 0) + return false; + +-- +2.21.0 + |