re-introduce old nss im too tired for this

This commit is contained in:
wuggy 2026-06-30 06:37:32 +01:00
commit 3a838106b9
2871 changed files with 1374431 additions and 1762417 deletions

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

@ -26,6 +26,7 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
include config.mk
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #
@ -43,4 +44,5 @@ include $(CORE_DEPTH)/coreconf/rules.mk
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################
export:: private_export

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

@ -26,6 +26,7 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
include config.mk
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #
@ -43,4 +44,5 @@ include $(CORE_DEPTH)/coreconf/rules.mk
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################
export:: private_export

View file

@ -0,0 +1,15 @@
#
# 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/.
#
# Override TARGETS variable so that only static libraries
# are specifed as dependencies within rules.mk.
#
TARGETS = $(LIBRARY)
SHARED_LIBRARY =
IMPORT_LIBRARY =
PROGRAM =

5
security/nss/lib/libpkix/pkix/certsel/manifest.mn Executable file → Normal file
View file

@ -4,6 +4,9 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
CORE_DEPTH = ../../../..
EXPORTS = \
$(NULL)
PRIVATE_EXPORTS = \
pkix_certselector.h \
pkix_comcertselparams.h \
@ -17,4 +20,4 @@ CSRCS = \
$(NULL)
LIBRARY_NAME = pkixcertsel
SHARED_LIBRARY = $(NULL)

View file

View file

View file

View file

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

@ -26,6 +26,7 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
include config.mk
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #
@ -43,4 +44,5 @@ include $(CORE_DEPTH)/coreconf/rules.mk
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################
export:: private_export

View file

@ -0,0 +1,15 @@
#
# 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/.
#
# Override TARGETS variable so that only static libraries
# are specifed as dependencies within rules.mk.
#
TARGETS = $(LIBRARY)
SHARED_LIBRARY =
IMPORT_LIBRARY =
PROGRAM =

5
security/nss/lib/libpkix/pkix/checker/manifest.mn Executable file → Normal file
View file

@ -4,6 +4,9 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
CORE_DEPTH = ../../../..
EXPORTS = \
$(NULL)
PRIVATE_EXPORTS = \
pkix_basicconstraintschecker.h \
pkix_certchainchecker.h \
@ -39,4 +42,4 @@ CSRCS = \
$(NULL)
LIBRARY_NAME = pkixchecker
SHARED_LIBRARY = $(NULL)

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

@ -0,0 +1,15 @@
#
# 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/.
#
# Override TARGETS variable so that only static libraries
# are specifed as dependencies within rules.mk.
#
TARGETS = $(LIBRARY)
SHARED_LIBRARY =
IMPORT_LIBRARY =
PROGRAM =

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

@ -26,6 +26,7 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
include config.mk
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #
@ -43,4 +44,5 @@ include $(CORE_DEPTH)/coreconf/rules.mk
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################
export:: private_export

View file

@ -0,0 +1,15 @@
#
# 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/.
#
# Override TARGETS variable so that only static libraries
# are specifed as dependencies within rules.mk.
#
TARGETS = $(LIBRARY)
SHARED_LIBRARY =
IMPORT_LIBRARY =
PROGRAM =

5
security/nss/lib/libpkix/pkix/crlsel/manifest.mn Executable file → Normal file
View file

@ -4,6 +4,9 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
CORE_DEPTH = ../../../..
EXPORTS = \
$(NULL)
PRIVATE_EXPORTS = \
pkix_comcrlselparams.h \
pkix_crlselector.h \
@ -17,4 +20,4 @@ CSRCS = \
$(NULL)
LIBRARY_NAME = pkixcrlsel
SHARED_LIBRARY = $(NULL)

View file

View file

View file

View file

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

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

@ -26,6 +26,7 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
include config.mk
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #
@ -43,4 +44,5 @@ include $(CORE_DEPTH)/coreconf/rules.mk
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################
export:: private_export

View file

@ -0,0 +1,15 @@
#
# 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/.
#
# Override TARGETS variable so that only static libraries
# are specifed as dependencies within rules.mk.
#
TARGETS = $(LIBRARY)
SHARED_LIBRARY =
IMPORT_LIBRARY =
PROGRAM =

5
security/nss/lib/libpkix/pkix/params/manifest.mn Executable file → Normal file
View file

@ -4,6 +4,9 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
CORE_DEPTH = ../../../..
EXPORTS = \
$(NULL)
PRIVATE_EXPORTS = \
pkix_procparams.h \
pkix_trustanchor.h \
@ -21,4 +24,4 @@ CSRCS = \
$(NULL)
LIBRARY_NAME = pkixparams
SHARED_LIBRARY = $(NULL)

0
security/nss/lib/libpkix/pkix/params/pkix_procparams.c Executable file → Normal file
View file

0
security/nss/lib/libpkix/pkix/params/pkix_procparams.h Executable file → Normal file
View file

View file

View file

View file

View file

0
security/nss/lib/libpkix/pkix/params/pkix_valparams.c Executable file → Normal file
View file

0
security/nss/lib/libpkix/pkix/params/pkix_valparams.h Executable file → Normal file
View file

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

@ -26,6 +26,7 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
include config.mk
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #
@ -43,4 +44,5 @@ include $(CORE_DEPTH)/coreconf/rules.mk
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################
export:: private_export

View file

@ -0,0 +1,15 @@
#
# 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/.
#
# Override TARGETS variable so that only static libraries
# are specifed as dependencies within rules.mk.
#
TARGETS = $(LIBRARY)
SHARED_LIBRARY =
IMPORT_LIBRARY =
PROGRAM =

5
security/nss/lib/libpkix/pkix/results/manifest.mn Executable file → Normal file
View file

@ -4,6 +4,9 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
CORE_DEPTH = ../../../..
EXPORTS = \
$(NULL)
PRIVATE_EXPORTS = \
pkix_buildresult.h \
pkix_policynode.h \
@ -21,4 +24,4 @@ CSRCS = \
$(NULL)
LIBRARY_NAME = pkixresults
SHARED_LIBRARY = $(NULL)

View file

View file

View file

View file

0
security/nss/lib/libpkix/pkix/results/pkix_valresult.c Executable file → Normal file
View file

0
security/nss/lib/libpkix/pkix/results/pkix_valresult.h Executable file → Normal file
View file

View file

View file

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

@ -26,6 +26,7 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
include config.mk
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #
@ -43,4 +44,5 @@ include $(CORE_DEPTH)/coreconf/rules.mk
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################
export:: private_export

View file

@ -0,0 +1,15 @@
#
# 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/.
#
# Override TARGETS variable so that only static libraries
# are specifed as dependencies within rules.mk.
#
TARGETS = $(LIBRARY)
SHARED_LIBRARY =
IMPORT_LIBRARY =
PROGRAM =

5
security/nss/lib/libpkix/pkix/store/manifest.mn Executable file → Normal file
View file

@ -4,6 +4,9 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
CORE_DEPTH = ../../../..
EXPORTS = \
$(NULL)
PRIVATE_EXPORTS = \
pkix_store.h \
$(NULL)
@ -15,4 +18,4 @@ CSRCS = \
$(NULL)
LIBRARY_NAME = pkixstore
SHARED_LIBRARY = $(NULL)

0
security/nss/lib/libpkix/pkix/store/pkix_store.c Executable file → Normal file
View file

0
security/nss/lib/libpkix/pkix/store/pkix_store.h Executable file → Normal file
View file

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

@ -26,6 +26,7 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
include config.mk
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #
@ -43,4 +44,5 @@ include $(CORE_DEPTH)/coreconf/rules.mk
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################
export:: private_export

View file

@ -0,0 +1,15 @@
#
# 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/.
#
# Override TARGETS variable so that only static libraries
# are specifed as dependencies within rules.mk.
#
TARGETS = $(LIBRARY)
SHARED_LIBRARY =
IMPORT_LIBRARY =
PROGRAM =

5
security/nss/lib/libpkix/pkix/top/manifest.mn Executable file → Normal file
View file

@ -4,6 +4,9 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
CORE_DEPTH = ../../../..
EXPORTS = \
$(NULL)
PRIVATE_EXPORTS = \
pkix_build.h \
pkix_lifecycle.h \
@ -19,4 +22,4 @@ CSRCS = \
$(NULL)
LIBRARY_NAME = pkixtop
SHARED_LIBRARY = $(NULL)

2
security/nss/lib/libpkix/pkix/top/pkix_build.c Executable file → Normal file
View file

@ -2363,7 +2363,7 @@ pkix_BuildForwardDepthFirstSearch(
if (isIssuerCertAllowedAtCertIssuanceTime(
state->candidateCert->nssCert, targetCert->nssCert)
!= SECSuccess) {
PKIX_ERROR(PKIX_CERTISBLOCKLISTEDATISSUANCETIME);
PKIX_ERROR(PKIX_CERTISBLACKLISTEDATISSUANCETIME);
}
if ((state->verifyNode) != NULL) {

0
security/nss/lib/libpkix/pkix/top/pkix_build.h Executable file → Normal file
View file

0
security/nss/lib/libpkix/pkix/top/pkix_lifecycle.c Executable file → Normal file
View file

0
security/nss/lib/libpkix/pkix/top/pkix_lifecycle.h Executable file → Normal file
View file

0
security/nss/lib/libpkix/pkix/top/pkix_validate.c Executable file → Normal file
View file

0
security/nss/lib/libpkix/pkix/top/pkix_validate.h Executable file → Normal file
View file

4
security/nss/lib/libpkix/pkix/util/Makefile Executable file → Normal file
View file

@ -26,6 +26,7 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
include config.mk
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #
@ -42,3 +43,6 @@ include $(CORE_DEPTH)/coreconf/rules.mk
#######################################################################
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################
export:: private_export

View file

@ -0,0 +1,15 @@
#
# 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/.
#
# Override TARGETS variable so that only static libraries
# are specifed as dependencies within rules.mk.
#
TARGETS = $(LIBRARY)
SHARED_LIBRARY =
IMPORT_LIBRARY =
PROGRAM =

5
security/nss/lib/libpkix/pkix/util/manifest.mn Executable file → Normal file
View file

@ -4,6 +4,9 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
CORE_DEPTH = ../../../..
EXPORTS = \
$(NULL)
PRIVATE_EXPORTS = \
pkix_tools.h \
pkix_error.h \
@ -22,4 +25,4 @@ CSRCS = \
$(NULL)
LIBRARY_NAME = pkixutil
SHARED_LIBRARY = $(NULL)

0
security/nss/lib/libpkix/pkix/util/pkix_error.c Executable file → Normal file
View file

0
security/nss/lib/libpkix/pkix/util/pkix_error.h Executable file → Normal file
View file

0
security/nss/lib/libpkix/pkix/util/pkix_list.c Executable file → Normal file
View file

0
security/nss/lib/libpkix/pkix/util/pkix_list.h Executable file → Normal file
View file

View file

@ -313,7 +313,7 @@ pkix_Logger_Destroy(
logger->callback = NULL;
PKIX_DECREF(logger->context);
logger->logComponent = (PKIX_ERRORCLASS)0;
logger->logComponent = (PKIX_ERRORCLASS)NULL;
cleanup:
@ -614,7 +614,7 @@ PKIX_Logger_Create(
logger->callback = callback;
logger->maxLevel = 0;
logger->logComponent = (PKIX_ERRORCLASS)0;
logger->logComponent = (PKIX_ERRORCLASS)NULL;
PKIX_INCREF(loggerContext);
logger->context = loggerContext;

8
security/nss/lib/libpkix/pkix/util/pkix_tools.c Executable file → Normal file
View file

@ -1073,7 +1073,6 @@ pkix_CacheCert_Lookup(
(PKIX_PL_Object *)cert,
plContext),
PKIX_LISTAPPENDITEMFAILED);
*pFound = PKIX_TRUE;
} else {
PKIX_DECREF(selectorError);
}
@ -1164,7 +1163,6 @@ pkix_CacheCert_Add(
{
PKIX_List *cachedKeys = NULL;
PKIX_List *cachedValues = NULL;
PKIX_List *cachedCerts = NULL;
PKIX_PL_Date *cacheValidUntilDate = NULL;
PKIX_PL_X500Name *subject = NULL;
PKIX_Error *cachedCertError = NULL;
@ -1221,12 +1219,9 @@ pkix_CacheCert_Add(
plContext),
PKIX_LISTAPPENDITEMFAILED);
PKIX_DUPLICATE(certs, &cachedCerts, plContext,
PKIX_OBJECTDUPLICATELISTFAILED);
PKIX_CHECK(PKIX_List_AppendItem
(cachedValues,
(PKIX_PL_Object *)cachedCerts,
(PKIX_PL_Object *)certs,
plContext),
PKIX_LISTAPPENDITEMFAILED);
@ -1248,7 +1243,6 @@ cleanup:
PKIX_DECREF(subject);
PKIX_DECREF(cachedKeys);
PKIX_DECREF(cachedValues);
PKIX_DECREF(cachedCerts);
PKIX_DECREF(cacheValidUntilDate);
PKIX_DECREF(cachedCertError);

0
security/nss/lib/libpkix/pkix/util/pkix_tools.h Executable file → Normal file
View file