Replace NSS with Pale Moon's

This commit is contained in:
wuggy 2026-06-29 21:29:25 +01:00
commit 8c2e376f94
2870 changed files with 1762232 additions and 1374220 deletions

2
security/nss/cmd/libpkix/pkix/Makefile Normal file → Executable file
View file

@ -20,8 +20,6 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
include $(PKIX_DEPTH)/config.mk
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################

2
security/nss/cmd/libpkix/pkix/certsel/Makefile Normal file → Executable file
View file

@ -20,8 +20,6 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
include $(PKIX_DEPTH)/config.mk
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################

3
security/nss/cmd/libpkix/pkix/certsel/manifest.mn Normal file → Executable file
View file

@ -14,7 +14,8 @@ CSRCS = test_certselector.c \
test_comcertselparams.c \
$(NULL)
LIBRARY_NAME=pkixtoolcertsel
LIBRARY_NAME = pkixtoolcertsel
SHARED_LIBRARY = $(NULL)
SOURCE_LIB_DIR=$(PKIX_DEPTH)/$(OBJDIR)

View file

@ -410,7 +410,8 @@ cleanup:
PKIX_TEST_RETURN();
}
static void testPolicyMatch(
static void
testPolicyMatch(
PKIX_List *certs,
PKIX_PL_Cert *NIST1Cert, /* a source for policy NIST1 */
PKIX_PL_Cert *NIST2Cert, /* a source for policy NIST2 */
@ -860,8 +861,9 @@ cleanup:
PKIX_TEST_RETURN();
}
static void test_customCallback2(PKIX_List *certs,
PKIX_PL_Cert *anyPolicyCert) /* a source for policy anyPolicy */
static void
test_customCallback2(PKIX_List *certs,
PKIX_PL_Cert *anyPolicyCert) /* a source for policy anyPolicy */
{
PKIX_CertSelector *selector = NULL;
PKIX_List *anyPolicyList = NULL; /* OIDs */
@ -1423,12 +1425,10 @@ test_CertSelector_Duplicate(PKIX_CertSelector *selector)
PKIX_TRUE,
plContext);
} else {
if
PKIX_EXACTLY_ONE_NULL(goodSubject, equalSubject)
{
pkixTestErrorMsg = "Subject Names are not equal!";
goto cleanup;
}
if PKIX_EXACTLY_ONE_NULL (goodSubject, equalSubject) {
pkixTestErrorMsg = "Subject Names are not equal!";
goto cleanup;
}
}
PKIX_TEST_EXPECT_NO_ERROR(PKIX_ComCertSelParams_GetPolicy(goodParams, &goodPolicy, plContext));
@ -1439,12 +1439,10 @@ test_CertSelector_Duplicate(PKIX_CertSelector *selector)
PKIX_TRUE,
plContext);
} else {
if
PKIX_EXACTLY_ONE_NULL(goodPolicy, equalPolicy)
{
pkixTestErrorMsg = "Policy Lists are not equal!";
goto cleanup;
}
if PKIX_EXACTLY_ONE_NULL (goodPolicy, equalPolicy) {
pkixTestErrorMsg = "Policy Lists are not equal!";
goto cleanup;
}
}
PKIX_TEST_EXPECT_NO_ERROR(PKIX_ComCertSelParams_GetCertificate(goodParams, &goodCert, plContext));
@ -1455,12 +1453,10 @@ test_CertSelector_Duplicate(PKIX_CertSelector *selector)
PKIX_TRUE,
plContext);
} else {
if
PKIX_EXACTLY_ONE_NULL(goodCert, equalCert)
{
pkixTestErrorMsg = "Cert Lists are not equal!";
goto cleanup;
}
if PKIX_EXACTLY_ONE_NULL (goodCert, equalCert) {
pkixTestErrorMsg = "Cert Lists are not equal!";
goto cleanup;
}
}
PKIX_TEST_EXPECT_NO_ERROR(PKIX_ComCertSelParams_GetCertificateValid(goodParams, &goodDate, plContext));
@ -1471,12 +1467,10 @@ test_CertSelector_Duplicate(PKIX_CertSelector *selector)
PKIX_TRUE,
plContext);
} else {
if
PKIX_EXACTLY_ONE_NULL(goodDate, equalDate)
{
pkixTestErrorMsg = "Date Lists are not equal!";
goto cleanup;
}
if PKIX_EXACTLY_ONE_NULL (goodDate, equalDate) {
pkixTestErrorMsg = "Date Lists are not equal!";
goto cleanup;
}
}
PKIX_TEST_EXPECT_NO_ERROR(PKIX_ComCertSelParams_GetBasicConstraints(goodParams, &goodBasicConstraints, plContext));

2
security/nss/cmd/libpkix/pkix/checker/Makefile Normal file → Executable file
View file

@ -20,8 +20,6 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
include $(PKIX_DEPTH)/config.mk
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################

3
security/nss/cmd/libpkix/pkix/checker/manifest.mn Normal file → Executable file
View file

@ -12,7 +12,8 @@ MODULE = nss
CSRCS = test_certchainchecker.c
LIBRARY_NAME=pkixtoolchecker
LIBRARY_NAME = pkixtoolchecker
SHARED_LIBRARY = $(NULL)
SOURCE_LIB_DIR=$(PKIX_DEPTH)/$(OBJDIR)

2
security/nss/cmd/libpkix/pkix/crlsel/Makefile Normal file → Executable file
View file

@ -20,8 +20,6 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
include $(PKIX_DEPTH)/config.mk
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################

3
security/nss/cmd/libpkix/pkix/crlsel/manifest.mn Normal file → Executable file
View file

@ -14,7 +14,8 @@ CSRCS = test_crlselector.c \
test_comcrlselparams.c \
$(NULL)
LIBRARY_NAME=pkixtoolcrlsel
LIBRARY_NAME = pkixtoolcrlsel
SHARED_LIBRARY = $(NULL)
SOURCE_LIB_DIR=$(PKIX_DEPTH)/$(OBJDIR)

0
security/nss/cmd/libpkix/pkix/manifest.mn Normal file → Executable file
View file

2
security/nss/cmd/libpkix/pkix/params/Makefile Normal file → Executable file
View file

@ -20,8 +20,6 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
include $(PKIX_DEPTH)/config.mk
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################

3
security/nss/cmd/libpkix/pkix/params/manifest.mn Normal file → Executable file
View file

@ -16,7 +16,8 @@ CSRCS = test_procparams.c \
test_resourcelimits.c \
$(NULL)
LIBRARY_NAME=pkixtoolparams
LIBRARY_NAME = pkixtoolparams
SHARED_LIBRARY = $(NULL)
SOURCE_LIB_DIR=$(PKIX_DEPTH)/$(OBJDIR)

2
security/nss/cmd/libpkix/pkix/results/Makefile Normal file → Executable file
View file

@ -20,8 +20,6 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
include $(PKIX_DEPTH)/config.mk
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################

3
security/nss/cmd/libpkix/pkix/results/manifest.mn Normal file → Executable file
View file

@ -16,7 +16,8 @@ CSRCS = test_buildresult.c \
test_valresult.c \
$(NULL)
LIBRARY_NAME=pkixtoolresults
LIBRARY_NAME = pkixtoolresults
SHARED_LIBRARY = $(NULL)
SOURCE_LIB_DIR=$(PKIX_DEPTH)/$(OBJDIR)

2
security/nss/cmd/libpkix/pkix/store/Makefile Normal file → Executable file
View file

@ -20,8 +20,6 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
include $(PKIX_DEPTH)/config.mk
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################

3
security/nss/cmd/libpkix/pkix/store/manifest.mn Normal file → Executable file
View file

@ -12,7 +12,8 @@ MODULE = nss
CSRCS = test_store.c
LIBRARY_NAME=pkixtoolstore
LIBRARY_NAME = pkixtoolstore
SHARED_LIBRARY = $(NULL)
SOURCE_LIB_DIR=$(PKIX_DEPTH)/$(OBJDIR)

2
security/nss/cmd/libpkix/pkix/top/Makefile Normal file → Executable file
View file

@ -20,8 +20,6 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
include $(PKIX_DEPTH)/config.mk
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################

3
security/nss/cmd/libpkix/pkix/top/manifest.mn Normal file → Executable file
View file

@ -26,7 +26,8 @@ CSRCS = test_basicchecker.c \
test_validatechain_NB.c \
$(NULL)
LIBRARY_NAME=pkixtooltop
LIBRARY_NAME = pkixtooltop
SHARED_LIBRARY = $(NULL)
SOURCE_LIB_DIR=$(PKIX_DEPTH)/$(OBJDIR)

View file

@ -218,13 +218,13 @@ test_basicchecker(int argc, char *argv[])
testNameChainingFail(dirName, goodInput, diffInput, dateAscii);
testDateFail(dirName, goodInput, diffInput);
/*
/*
* XXX
* since the signature check is done last, we need to create
* certs whose name chaining passes, but their signatures fail;
* we currently don't have any such certs.
*/
/* testSignatureFail(goodInput, diffInput, dateAscii); */
/* testSignatureFail(goodInput, diffInput, dateAscii); */
cleanup:

2
security/nss/cmd/libpkix/pkix/util/Makefile Normal file → Executable file
View file

@ -20,8 +20,6 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
include $(PKIX_DEPTH)/config.mk
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################

3
security/nss/cmd/libpkix/pkix/util/manifest.mn Normal file → Executable file
View file

@ -16,7 +16,8 @@ CSRCS = test_error.c \
test_logger.c \
$(NULL)
LIBRARY_NAME=pkixtoolutil
LIBRARY_NAME = pkixtoolutil
SHARED_LIBRARY = $(NULL)
SOURCE_LIB_DIR=$(PKIX_DEPTH)/$(OBJDIR)