Skip to content

Commit

Permalink
Sigh, even when I explicitly push to nss-try, it's pushing to nss!
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrelyea committed Feb 28, 2023
1 parent 6824132 commit f9dc5b0
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 16 deletions.
1 change: 0 additions & 1 deletion .hgignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ fuzz/libFuzzer/*
fuzz/corpus
fuzz/out
.chk
lib/liboqs/liboqs/*
1 change: 0 additions & 1 deletion automation/clang-format/run_clang_format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ blocklist=(
"./pkg" \
"./tests" \
"./lib/libpkix" \
"./lib/liboqs" \
"./lib/zlib" \
"./lib/sqlite" \
"./gtests/google_test" \
Expand Down
2 changes: 0 additions & 2 deletions automation/taskcluster/scripts/split.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ split_softoken() {
# nss/lib/freebl full directory
# nss/lib/softoken full directory
# nss/lib/softoken/dbm full directory
# nss/lib/liboqs full directory

# Copy everything.
cp -R $nssdir $dstdir
Expand All @@ -80,7 +79,6 @@ split_softoken() {
cp -R $nssdir/lib/freebl $dstdir/lib/freebl
cp -R $nssdir/lib/softoken $dstdir/lib/softoken
cp -R $nssdir/lib/sqlite $dstdir/lib/sqlite
cp -R $nssdir/lib/liboqs $dstdir/lib/liboqs

mkdir $dstdir/cmd
copy_top $nssdir/cmd $dstdir/cmd
Expand Down
1 change: 0 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ while [ $# -gt 0 ]; do
--with-nspr=?*) set_nspr_path "${1#*=}"; no_local_nspr=1 ;;
--system-nspr) set_nspr_path "/usr/include/nspr/:"; no_local_nspr=1 ;;
--system-sqlite) gyp_params+=(-Duse_system_sqlite=1) ;;
--system-liboqs) gyp_params+=(-Duse_system_liboqs=1) ;;
--enable-fips) gyp_params+=(-Ddisable_fips=0) ;;
--enable-libpkix) gyp_params+=(-Ddisable_libpkix=0) ;;
--mozpkix-only) gyp_params+=(-Dmozpkix_only=1 -Ddisable_tests=1 -Dsign_libs=0) ;;
Expand Down
1 change: 0 additions & 1 deletion coreconf/config.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
'cc_is_gcc%': '<(cc_is_gcc)',
'cc_use_gnu_ld%': '<(cc_use_gnu_ld)',
# Some defaults
'use_system_liboqs%': 0,
'disable_arm_hw_aes%': 0,
'disable_arm_hw_sha1%': 0,
'disable_arm_hw_sha2%': 0,
Expand Down
1 change: 0 additions & 1 deletion exports.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
'lib/smime/exports.gyp:lib_smime_exports',
'lib/softoken/exports.gyp:lib_softoken_exports',
'lib/sqlite/exports.gyp:lib_sqlite_exports',
'lib/liboqs/include/exports.gyp:lib_oqs_include_exports',
'lib/ssl/exports.gyp:lib_ssl_exports',
'lib/util/exports.gyp:lib_util_exports',
'lib/zlib/exports.gyp:lib_zlib_exports',
Expand Down
4 changes: 1 addition & 3 deletions help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ Usage: build.sh [-h] [-c|-cc] [-v] [-j <n>] [--gyp|-g] [--opt|-o]
[--fuzz[=tls|oss]] [--sancov[=edge|bb|func|...]]
[--emit-llvm] [--no-zdefs] [--static] [--ct-verif]
[--nspr|--with-nspr=<include>:<lib>|--system-nspr]
[--system-sqlite] [--system-liboqs]
[--enable-fips] [--enable-libpkix]
[--system-sqlite] [--enable-fips] [--enable-libpkix]
[--mozpkix-only] [-D<gyp-option>]
[--rebuild] [--enable-legacy-db]

Expand Down Expand Up @@ -53,7 +52,6 @@ NSS build tool options:
--system-nspr attempt to use system nspr
shorthand for --with-nspr=/usr/include/nspr:
--system-sqlite use system sqlite
--system-liboqs use system liboqs
--enable-fips enable FIPS checks
--enable-libpkix make libpkix part of the build
--enable-legacy-db enable the legacy db (libnssdbm)
Expand Down
6 changes: 1 addition & 5 deletions lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ ifndef NSS_USE_SYSTEM_SQLITE
SQLITE_SRCDIR = sqlite
endif

ifndef NSS_USE_SYSTEM_LIBOQS
LIBOQS_SRCDIR = liboqs
endif

ifeq ($(OS_ARCH),Linux)
SYSINIT_SRCDIR = sysinit
endif
Expand Down Expand Up @@ -80,7 +76,7 @@ else

SOFTOKEN_SRCDIRS = \
$(DBM_SRCDIR) $(FREEBL_SRCDIR) $(SOFTOKEN_SRCDIR) \
$(SQLITE_SRCDIR) $(LIBOQS_SRCDIR) $(NULL)
$(SQLITE_SRCDIR) $(NULL)

ifneq (,$(FREEBL_SRCDIR))
$(FREEBL_SRCDIR): $(UTIL_SRCDIR)
Expand Down
1 change: 0 additions & 1 deletion nss.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
'lib/nss/nss.gyp:nss3',
'lib/smime/smime.gyp:smime3',
'lib/sqlite/sqlite.gyp:sqlite3',
'lib/liboqs/liboqs.gyp:oqs',
'lib/ssl/ssl.gyp:ssl3',
'lib/util/util.gyp:nssutil3',
],
Expand Down

0 comments on commit f9dc5b0

Please sign in to comment.