diff options
Diffstat (limited to 'meta-oe/recipes-support/nss/nss/0001-Bug-1750624-Pin-validation-date-for-PayPalEE-test-ce.patch')
-rw-r--r-- | meta-oe/recipes-support/nss/nss/0001-Bug-1750624-Pin-validation-date-for-PayPalEE-test-ce.patch | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/meta-oe/recipes-support/nss/nss/0001-Bug-1750624-Pin-validation-date-for-PayPalEE-test-ce.patch b/meta-oe/recipes-support/nss/nss/0001-Bug-1750624-Pin-validation-date-for-PayPalEE-test-ce.patch deleted file mode 100644 index d905bf10e..000000000 --- a/meta-oe/recipes-support/nss/nss/0001-Bug-1750624-Pin-validation-date-for-PayPalEE-test-ce.patch +++ /dev/null | |||
@@ -1,64 +0,0 @@ | |||
1 | From 1109c1b8259ad840ac1688d533f76ca268c67b6b Mon Sep 17 00:00:00 2001 | ||
2 | From: "John M. Schanck" <jschanck@mozilla.com> | ||
3 | Date: Sat, 5 Feb 2022 11:12:43 +0000 | ||
4 | Subject: [PATCH] Bug 1750624 - Pin validation date for PayPalEE test cert. | ||
5 | r=nss-reviewers,bbeurdouche,rrelyea | ||
6 | |||
7 | Differential Revision: https://phabricator.services.mozilla.com/D136289 | ||
8 | |||
9 | --HG-- | ||
10 | extra : moz-landing-system : lando | ||
11 | |||
12 | Upstream-Status: Backport | ||
13 | |||
14 | --- | ||
15 | tests/chains/chains.sh | 6 +++++- | ||
16 | tests/chains/scenarios/realcerts.cfg | 1 + | ||
17 | 2 files changed, 6 insertions(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/tests/chains/chains.sh b/tests/chains/chains.sh | ||
20 | index 32c7ef54c..e13ae52f9 100755 | ||
21 | --- a/nss/tests/chains/chains.sh | ||
22 | +++ b/nss/tests/chains/chains.sh | ||
23 | @@ -917,7 +917,7 @@ verify_cert() | ||
24 | done | ||
25 | |||
26 | VFY_OPTS_TNAME="${DB_OPT} ${ENGINE} ${TRUST_AND_DB_OPT} ${REV_OPTS} ${FETCH_OPT} ${USAGE_OPT} ${POLICY_OPT} ${TRUST_OPT}" | ||
27 | - VFY_OPTS_ALL="${DB_OPT} ${ENGINE} -vv ${TRUST_AND_DB_OPT} ${REV_OPTS} ${FETCH_OPT} ${USAGE_OPT} ${POLICY_OPT} ${VFY_CERTS} ${TRUST_OPT}" | ||
28 | + VFY_OPTS_ALL="${DB_OPT} ${ENGINE} -vv ${VFY_TIME_OPT} ${TRUST_AND_DB_OPT} ${REV_OPTS} ${FETCH_OPT} ${USAGE_OPT} ${POLICY_OPT} ${VFY_CERTS} ${TRUST_OPT}" | ||
29 | |||
30 | TESTNAME="Verifying certificate(s) ${VFY_LIST} with flags ${VFY_OPTS_TNAME}" | ||
31 | echo "${SCRIPTNAME}: ${TESTNAME}" | ||
32 | @@ -1118,6 +1118,7 @@ parse_config() | ||
33 | ;; | ||
34 | "verify") | ||
35 | VERIFY="${VALUE}" | ||
36 | + VFY_TIME_OPT= | ||
37 | TRUST= | ||
38 | TRUST_AND_DB= | ||
39 | POLICY= | ||
40 | @@ -1126,6 +1127,9 @@ parse_config() | ||
41 | REV_OPTS= | ||
42 | USAGE_OPT= | ||
43 | ;; | ||
44 | + "at_time") | ||
45 | + VFY_TIME_OPT="-b ${VALUE}" | ||
46 | + ;; | ||
47 | "cert") | ||
48 | VERIFY="${VERIFY} ${VALUE}" | ||
49 | ;; | ||
50 | diff --git a/tests/chains/scenarios/realcerts.cfg b/tests/chains/scenarios/realcerts.cfg | ||
51 | index 305443fc3..f8b0fc452 100644 | ||
52 | --- a/nss/tests/chains/scenarios/realcerts.cfg | ||
53 | +++ b/nss/tests/chains/scenarios/realcerts.cfg | ||
54 | @@ -22,6 +22,7 @@ verify TestUser51:x | ||
55 | |||
56 | verify PayPalEE:x | ||
57 | policy OID.2.16.840.1.114412.2.1 | ||
58 | + at_time 2201010000Z | ||
59 | result pass | ||
60 | |||
61 | verify BrAirWaysBadSig:x | ||
62 | -- | ||
63 | 2.25.1 | ||
64 | |||