mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-10-22 02:25:05 +00:00
34 lines
1.2 KiB
Python
34 lines
1.2 KiB
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
test_certificates = (
|
|
'ev_ee_27_months-ev_int_60_months-evroot.pem',
|
|
'ev_ee_28_months-ev_int_60_months-evroot.pem',
|
|
'ev_int_60_months-evroot.pem',
|
|
'evroot.pem',
|
|
)
|
|
|
|
for test_certificate in test_certificates:
|
|
input_file = test_certificate + '.certspec'
|
|
GENERATED_FILES += [test_certificate]
|
|
props = GENERATED_FILES[test_certificate]
|
|
props.script = '../pycert.py'
|
|
props.inputs = [input_file]
|
|
TEST_HARNESS_FILES.xpcshell.security.manager.ssl.tests.unit.test_validity += ['!%s' % test_certificate]
|
|
|
|
test_keys = (
|
|
'ev_int_60_months-evroot.key',
|
|
'evroot.key',
|
|
)
|
|
|
|
for test_key in test_keys:
|
|
input_file = test_key + '.keyspec'
|
|
GENERATED_FILES += [test_key]
|
|
props = GENERATED_FILES[test_key]
|
|
props.script = '../pykey.py'
|
|
props.inputs = [input_file]
|
|
TEST_HARNESS_FILES.xpcshell.security.manager.ssl.tests.unit.test_validity += ['!%s' % test_key]
|