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

View file

@ -4,10 +4,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
include manifest.mn
include config.mk
include $(CORE_DEPTH)/coreconf/config.mk
ifdef BUILD_IDG
DEFINES += -DNSSDEBUG
endif
include $(CORE_DEPTH)/coreconf/rules.mk

View file

@ -0,0 +1,8 @@
#
# 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/.
ifdef BUILD_IDG
DEFINES += -DNSSDEBUG
endif

View file

@ -392,19 +392,19 @@ nss_dbm_db_swap_type(
return type_byte;
case CKA_MODIFIABLE:
return type_byte;
case CKA_NSS_URL:
case CKA_NETSCAPE_URL:
return type_opaque;
case CKA_NSS_EMAIL:
case CKA_NETSCAPE_EMAIL:
return type_opaque;
case CKA_NSS_SMIME_INFO:
case CKA_NETSCAPE_SMIME_INFO:
return type_opaque;
case CKA_NSS_SMIME_TIMESTAMP:
case CKA_NETSCAPE_SMIME_TIMESTAMP:
return type_opaque;
case CKA_NSS_PKCS8_SALT:
case CKA_NETSCAPE_PKCS8_SALT:
return type_opaque;
case CKA_NSS_PASSWORD_CHECK:
case CKA_NETSCAPE_PASSWORD_CHECK:
return type_opaque;
case CKA_NSS_EXPIRES:
case CKA_NETSCAPE_EXPIRES:
return type_opaque;
case CKA_TRUST_DIGITAL_SIGNATURE:
return type_long;
@ -436,9 +436,9 @@ nss_dbm_db_swap_type(
return type_long;
case CKA_TRUST_TIME_STAMPING:
return type_long;
case CKA_NSS_DB:
case CKA_NETSCAPE_DB:
return type_opaque;
case CKA_NSS_TRUST:
case CKA_NETSCAPE_TRUST:
return type_opaque;
default:
return type_opaque;

View file

@ -21,6 +21,5 @@ CSRCS = \
REQUIRES = dbm nspr
LIBRARY_NAME = nssckdbm
LIBRARY = $(NULL)
EXTRA_SHARED_LIBS = -L$(DIST)/lib -lnssckfw -lnssb -ldbm -lnspr4 -lplc4 -lplds4