зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1564499 - land NSS 8c6fad5544a6 UPGRADE_NSS_RELEASE, r=me
--HG-- extra : rebase_source : 5434866d8339b5c9f91a5114d37b863e7880f6e8
This commit is contained in:
Родитель
af897e281a
Коммит
0b2f8f9f7c
|
@ -55,7 +55,7 @@ tasks:
|
|||
image: djmitche/nss-decision:0.0.3
|
||||
|
||||
env:
|
||||
TC_OWNER: "${push.owner}"
|
||||
TC_OWNER: "${ownerEmail}"
|
||||
TC_SOURCE: "${repository.url}"
|
||||
TC_PROJECT: ${repository.project}
|
||||
TC_SCHEDULER_ID: "${schedulerId}"
|
||||
|
|
|
@ -1 +1 @@
|
|||
264f19e7ede7
|
||||
8c6fad5544a6
|
||||
|
|
|
@ -0,0 +1,143 @@
|
|||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBFS+1SABEACnmkESkY7eZq0GhDjbkWpKmURGk9+ycsfAhA44NqUvf4tk1GPM
|
||||
5SkJ/fYedYZJaDVhIp98fHgucD0O+vjOzghtgwtITusYjiPHPFBd/MN+MQqSEAP+
|
||||
LUa/kjHLjgyXxKhFUIDGVaDWL5tKOA7/AQKl1TyJ8lz89NHQoUHFsF/hu10+qhJe
|
||||
V65d32MXFehIUSvegh8DrPuExrliSiORO4HOhuc6151dWA4YBWVg4rX5kfKrGMMT
|
||||
pTWnSSZtgoRhkKW2Ey8cmZUqPuUJIfWyeNVu1e4SFtAivLvu/Ymz2WBJcNA1ZlTr
|
||||
RCOR5SIRgZ453pQnI/Bzna2nnJ/TV1gGJIGRahj/ini0cs2x1CILfS/YJQ3rWGGo
|
||||
OxwG0BVmPk0cmLVtyTq8gUPwxcPUd6WcBKhot3TDMlrffZACnQwQjlVjk5S1dEEz
|
||||
atUfpEuNitU9WOM4jr/gjv36ZNCOWm95YwLhsuci/NddBN8HXhyvs+zYTVZEXa2W
|
||||
l/FqOdQsQqZBcJjjWckGKhESdd7934+cesGD3O8KaeSGxww7slJrS0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5XBlDAha9
|
||||
pUVs+J5C2D0UFFkyeOzeJPwy6x5ApWHm84n8AjhQSpu1qRKxKXdwei6tkQWWMHui
|
||||
+TgSY/zCkmD9/oY15Ei5avJ4WgIbTLJUoZMi70riPmU8ThjpzA7S+Nk0g7rMPq+X
|
||||
l1whjKU/u0udlsrIJjzkh6ftqKUmIkbxYTpjhnEujNrEr5m2S6Z6x3y9E5QagBMR
|
||||
dxRhfk+HbyACcP/p9rXOzl4M291DoKeAAH70GHniGxyNs9rAoMr/hD5XW/Wrz3dc
|
||||
KMc2s555E6MZILE2ZiolcRn+bYOMPZtWlbx98t8uqMf49gY4FGQBZAwPglMrx7mr
|
||||
m7HTIiXahThQGOJg6izJDAD5RwSEGlAcL28T8KAuM6CLLkhlBfQwiKsUBNnh9r8w
|
||||
V3lB+pV0GhL+3i077gTYfZBRwLzjFdhm9xUKEaZ6rN1BX9lzix4eSNK5nln0jUq1
|
||||
67H2IH//2sf8dw==
|
||||
=fTDu
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
@ -9,9 +9,10 @@ ENV haclrepo https://github.com/mitls/hacl-star.git
|
|||
|
||||
# Define versions of dependencies
|
||||
ENV opamv 4.05.0
|
||||
ENV haclversion 1da331f9ef30e13269e45ae73bbe4a4bca679ae6
|
||||
ENV haclversion 1442c015dab97cdf203ae238b1f3aeccf511bd1e
|
||||
|
||||
# Install required packages and set versions
|
||||
ADD B6C8F98282B944E3B0D5C2530FC3042E345AD05D.asc /tmp/B6C8F98282B944E3B0D5C2530FC3042E345AD05D.asc
|
||||
ADD setup.sh /tmp/setup.sh
|
||||
RUN bash /tmp/setup.sh
|
||||
|
||||
|
|
|
@ -12,9 +12,13 @@ update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 200
|
|||
# Get clang-format-3.9
|
||||
curl -LO https://releases.llvm.org/3.9.1/clang+llvm-3.9.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz
|
||||
curl -LO https://releases.llvm.org/3.9.1/clang+llvm-3.9.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz.sig
|
||||
# Verify the signature.
|
||||
gpg --keyserver pool.sks-keyservers.net --recv-keys B6C8F98282B944E3B0D5C2530FC3042E345AD05D
|
||||
gpg --verify *.tar.xz.sig
|
||||
|
||||
# Verify the signature. The key used for verification was fetched via:
|
||||
# gpg --keyserver pgp.key-server.io --recv-keys B6C8F98282B944E3B0D5C2530FC3042E345AD05D
|
||||
# Use a local copy to workaround bug 1565013.
|
||||
gpg --no-default-keyring --keyring tmp.keyring --import /tmp/B6C8F98282B944E3B0D5C2530FC3042E345AD05D.asc
|
||||
gpg --no-default-keyring --keyring tmp.keyring --verify clang+llvm-3.9.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz.sig
|
||||
|
||||
# Install into /usr/local/.
|
||||
tar xJvf *.tar.xz -C /usr/local --strip-components=1
|
||||
# Cleanup.
|
||||
|
|
|
@ -127,6 +127,10 @@ queue.map(task => {
|
|||
task.env = {};
|
||||
}
|
||||
task.env.NSS_SSL_TESTS = "crl iopr policy";
|
||||
|
||||
if (task.platform == "mac") {
|
||||
task.maxRunTime = 7200;
|
||||
}
|
||||
}
|
||||
|
||||
// Windows is slow.
|
||||
|
@ -135,6 +139,9 @@ queue.map(task => {
|
|||
task.maxRunTime = 7200;
|
||||
}
|
||||
|
||||
if (task.platform == "mac" && task.tests == "tools") {
|
||||
task.maxRunTime = 7200;
|
||||
}
|
||||
return task;
|
||||
});
|
||||
|
||||
|
|
|
@ -13,14 +13,16 @@
|
|||
set -e
|
||||
|
||||
cwd=$(cd $(dirname $0); pwd -P)
|
||||
source "$cwd"/coreconf/nspr.sh
|
||||
source "$cwd"/coreconf/sanitizers.sh
|
||||
dist_dir="$cwd/../dist"
|
||||
argsfile="$dist_dir/build_args"
|
||||
source "$cwd/coreconf/nspr.sh"
|
||||
source "$cwd/coreconf/sanitizers.sh"
|
||||
GYP=${GYP:-gyp}
|
||||
|
||||
# Usage info
|
||||
show_help()
|
||||
{
|
||||
cat "$cwd"/help.txt
|
||||
cat "$cwd/help.txt"
|
||||
}
|
||||
|
||||
run_verbose()
|
||||
|
@ -35,6 +37,14 @@ run_verbose()
|
|||
exec 3>&-
|
||||
}
|
||||
|
||||
# The prehistoric bash on Mac doesn't support @Q quoting.
|
||||
# The consequences aren't that serious, unless there are odd arrangements of spaces.
|
||||
if /usr/bin/env bash -c 'x=1;echo "${x@Q}"' >/dev/null 2>&1; then
|
||||
Q() { echo "${@@Q}"; }
|
||||
else
|
||||
Q() { echo "$@"; }
|
||||
fi
|
||||
|
||||
if [ -n "$CCC" ] && [ -z "$CXX" ]; then
|
||||
export CXX="$CCC"
|
||||
fi
|
||||
|
@ -56,7 +66,7 @@ gyp_params=(--depth="$cwd" --generator-output=".")
|
|||
ninja_params=()
|
||||
|
||||
# Assume that the target architecture is the same as the host by default.
|
||||
host_arch=$(python "$cwd"/coreconf/detect_host_arch.py)
|
||||
host_arch=$(python "$cwd/coreconf/detect_host_arch.py")
|
||||
target_arch=$host_arch
|
||||
|
||||
# Assume that MSVC is wanted if this is running on windows.
|
||||
|
@ -66,8 +76,17 @@ if [ "${platform%-*}" = "MINGW32_NT" -o "${platform%-*}" = "MINGW64_NT" ]; then
|
|||
fi
|
||||
|
||||
# Parse command line arguments.
|
||||
all_args=("$@")
|
||||
while [ $# -gt 0 ]; do
|
||||
case "$1" in
|
||||
--rebuild)
|
||||
if [[ ! -e "$argsfile" ]]; then
|
||||
echo "Unable to rebuild" 1>&2
|
||||
exit 2
|
||||
fi
|
||||
IFS=$'\r\n' GLOBIGNORE='*' command eval 'previous_args=($(<"$argsfile"))'
|
||||
exec /usr/bin/env bash -c "$(Q "$0")"' "$@"' "$0" "${previous_args[@]}"
|
||||
;;
|
||||
-c) clean=1 ;;
|
||||
-cc) clean_only=1 ;;
|
||||
-v) ninja_params+=(-v); verbose=1 ;;
|
||||
|
@ -105,7 +124,7 @@ while [ $# -gt 0 ]; do
|
|||
--enable-libpkix) gyp_params+=(-Ddisable_libpkix=0) ;;
|
||||
--mozpkix-only) gyp_params+=(-Dmozpkix_only=1 -Ddisable_tests=1 -Dsign_libs=0) ;;
|
||||
--disable-keylog) sslkeylogfile=0 ;;
|
||||
-D*) gyp_params+=("$1") ;;
|
||||
-D*) gyp_params+=("$1") ;;
|
||||
*) show_help; exit 2 ;;
|
||||
esac
|
||||
shift
|
||||
|
@ -123,7 +142,7 @@ gyp_params+=(-Denable_sslkeylogfile="$sslkeylogfile")
|
|||
|
||||
# Do special setup.
|
||||
if [ "$fuzz" = 1 ]; then
|
||||
source "$cwd"/coreconf/fuzz.sh
|
||||
source "$cwd/coreconf/fuzz.sh"
|
||||
fi
|
||||
nspr_set_flags $sanitizer_flags
|
||||
if [ ! -z "$sanitizer_flags" ]; then
|
||||
|
@ -131,20 +150,13 @@ if [ ! -z "$sanitizer_flags" ]; then
|
|||
fi
|
||||
|
||||
if [ "$msvc" = 1 ]; then
|
||||
source "$cwd"/coreconf/msvc.sh
|
||||
source "$cwd/coreconf/msvc.sh"
|
||||
fi
|
||||
|
||||
# Setup build paths.
|
||||
target_dir="$cwd"/out/$target
|
||||
mkdir -p "$target_dir"
|
||||
dist_dir="$cwd"/../dist
|
||||
dist_dir=$(mkdir -p "$dist_dir"; cd "$dist_dir"; pwd -P)
|
||||
gyp_params+=(-Dnss_dist_dir="$dist_dir")
|
||||
|
||||
# -c = clean first
|
||||
if [ "$clean" = 1 -o "$clean_only" = 1 ]; then
|
||||
nspr_clean
|
||||
rm -rf "$cwd"/out
|
||||
rm -rf "$cwd/out"
|
||||
rm -rf "$dist_dir"
|
||||
# -cc = only clean, don't build
|
||||
if [ "$clean_only" = 1 ]; then
|
||||
|
@ -153,6 +165,12 @@ if [ "$clean" = 1 -o "$clean_only" = 1 ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# Setup build paths.
|
||||
target_dir="$cwd/out/$target"
|
||||
mkdir -p "$target_dir"
|
||||
dist_dir=$(mkdir -p "$dist_dir"; cd "$dist_dir"; pwd -P)
|
||||
gyp_params+=(-Dnss_dist_dir="$dist_dir")
|
||||
|
||||
# This saves a canonical representation of arguments that we are passing to gyp
|
||||
# or the NSPR build so that we can work out if a rebuild is needed.
|
||||
# Caveat: This can fail for arguments that are position-dependent.
|
||||
|
@ -162,66 +180,67 @@ check_config()
|
|||
local newconf="$1".new oldconf="$1"
|
||||
shift
|
||||
mkdir -p $(dirname "$newconf")
|
||||
echo CC="$CC" >"$newconf"
|
||||
echo CCC="$CCC" >>"$newconf"
|
||||
echo CXX="$CXX" >>"$newconf"
|
||||
echo target_arch="$target_arch" >>"$newconf"
|
||||
for i in "$@"; do echo $i; done | sort >>"$newconf"
|
||||
echo CC="$(Q "$CC")" >"$newconf"
|
||||
echo CCC="$(Q "$CCC")" >>"$newconf"
|
||||
echo CXX="$(Q "$CXX")" >>"$newconf"
|
||||
echo target_arch="$(Q "$target_arch")" >>"$newconf"
|
||||
for i in "$@"; do echo "$i"; done | sort >>"$newconf"
|
||||
|
||||
# Note: The following diff fails if $oldconf isn't there as well, which
|
||||
# happens if we don't have a previous successful build.
|
||||
! diff -q "$newconf" "$oldconf" >/dev/null 2>&1
|
||||
}
|
||||
|
||||
gyp_config="$cwd"/out/gyp_config
|
||||
nspr_config="$cwd"/out/$target/nspr_config
|
||||
gyp_config="$cwd/out/gyp_config"
|
||||
nspr_config="$cwd/out/$target/nspr_config"
|
||||
|
||||
# Now check what needs to be rebuilt.
|
||||
# If we don't have a build directory make sure that we rebuild.
|
||||
if [ ! -d "$target_dir" ]; then
|
||||
rebuild_nspr=1
|
||||
rebuild_gyp=1
|
||||
elif [ ! -d "$dist_dir"/$target ]; then
|
||||
elif [ ! -d "$dist_dir/$target" ]; then
|
||||
rebuild_nspr=1
|
||||
fi
|
||||
|
||||
if check_config "$nspr_config" \
|
||||
nspr_cflags="$nspr_cflags" \
|
||||
nspr_cxxflags="$nspr_cxxflags" \
|
||||
nspr_ldflags="$nspr_ldflags"; then
|
||||
nspr_cflags="$(Q "$nspr_cflags")" \
|
||||
nspr_cxxflags="$(Q "$nspr_cxxflags")" \
|
||||
nspr_ldflags="$(Q "$nspr_ldflags")"; then
|
||||
rebuild_nspr=1
|
||||
fi
|
||||
|
||||
if check_config "$gyp_config" "${gyp_params[@]}"; then
|
||||
if check_config "$gyp_config" "$(Q "${gyp_params[@]}")"; then
|
||||
rebuild_gyp=1
|
||||
fi
|
||||
|
||||
# Save the chosen target.
|
||||
mkdir -p "$dist_dir"
|
||||
echo $target > "$dist_dir"/latest
|
||||
echo "$target" > "$dist_dir/latest"
|
||||
for i in "${all_args[@]}"; do echo "$i"; done > "$argsfile"
|
||||
|
||||
# Build.
|
||||
# NSPR.
|
||||
if [[ "$rebuild_nspr" = 1 && "$no_local_nspr" = 0 ]]; then
|
||||
nspr_clean
|
||||
nspr_build
|
||||
mv -f "$nspr_config".new "$nspr_config"
|
||||
mv -f "$nspr_config.new" "$nspr_config"
|
||||
fi
|
||||
# gyp.
|
||||
if [ "$rebuild_gyp" = 1 ]; then
|
||||
if ! hash ${GYP} 2> /dev/null; then
|
||||
echo "Please install gyp" 1>&2
|
||||
exit 1
|
||||
if ! hash "$GYP" 2> /dev/null; then
|
||||
echo "Building NSS requires an installation of gyp: https://gyp.gsrc.io/" 1>&2
|
||||
exit 3
|
||||
fi
|
||||
# These extra arguments aren't used in determining whether to rebuild.
|
||||
obj_dir="$dist_dir"/$target
|
||||
gyp_params+=(-Dnss_dist_obj_dir=$obj_dir)
|
||||
obj_dir="$dist_dir/$target"
|
||||
gyp_params+=(-Dnss_dist_obj_dir="$obj_dir")
|
||||
if [ "$no_local_nspr" = 0 ]; then
|
||||
set_nspr_path "$obj_dir/include/nspr:$obj_dir/lib"
|
||||
fi
|
||||
|
||||
run_verbose run_scanbuild ${GYP} -f ninja "${gyp_params[@]}" "$cwd"/nss.gyp
|
||||
run_verbose run_scanbuild ${GYP} -f ninja "${gyp_params[@]}" "$cwd/nss.gyp"
|
||||
|
||||
mv -f "$gyp_config".new "$gyp_config"
|
||||
mv -f "$gyp_config.new" "$gyp_config"
|
||||
fi
|
||||
|
||||
# ninja.
|
||||
|
@ -230,7 +249,7 @@ if hash ninja-build 2>/dev/null; then
|
|||
elif hash ninja 2>/dev/null; then
|
||||
ninja=ninja
|
||||
else
|
||||
echo "Please install ninja" 1>&2
|
||||
exit 1
|
||||
echo "Building NSS requires an installation of ninja: https://ninja-build.org/" 1>&2
|
||||
exit 3
|
||||
fi
|
||||
run_scanbuild $ninja -C "$target_dir" "${ninja_params[@]}"
|
||||
run_scanbuild "$ninja" -C "$target_dir" "${ninja_params[@]}"
|
||||
|
|
|
@ -463,7 +463,7 @@ handle_connection(
|
|||
char *getData = NULL; /* inplace conversion */
|
||||
SECItem postData;
|
||||
PRBool isOcspRequest = PR_FALSE;
|
||||
PRBool isPost;
|
||||
PRBool isPost = PR_FALSE;
|
||||
|
||||
postData.data = NULL;
|
||||
postData.len = 0;
|
||||
|
|
|
@ -924,7 +924,7 @@ restartHandshakeAfterServerCertIfNeeded(PRFileDesc *fd,
|
|||
PRBool override)
|
||||
{
|
||||
SECStatus rv;
|
||||
PRErrorCode error;
|
||||
PRErrorCode error = 0;
|
||||
|
||||
if (!serverCertAuth->isPaused)
|
||||
return SECSuccess;
|
||||
|
|
|
@ -14,9 +14,7 @@ ifdef BUILD_OPT
|
|||
DEFINES += -UDEBUG -DNDEBUG
|
||||
else
|
||||
OPTIMIZER += -g
|
||||
USERNAME := $(shell whoami)
|
||||
USERNAME := $(subst -,_,$(USERNAME))
|
||||
DEFINES += -DDEBUG -UNDEBUG -DDEBUG_$(USERNAME)
|
||||
DEFINES += -DDEBUG -UNDEBUG
|
||||
endif
|
||||
|
||||
ifdef BUILD_TREE
|
||||
|
|
|
@ -116,11 +116,7 @@ ifdef NS_USE_GCC
|
|||
DEFINES += -UDEBUG -DNDEBUG
|
||||
else
|
||||
OPTIMIZER += -g
|
||||
NULLSTRING :=
|
||||
SPACE := $(NULLSTRING) # end of the line
|
||||
USERNAME := $(subst $(SPACE),_,$(USERNAME))
|
||||
USERNAME := $(subst -,_,$(USERNAME))
|
||||
DEFINES += -DDEBUG -UNDEBUG -DDEBUG_$(USERNAME)
|
||||
DEFINES += -DDEBUG -UNDEBUG
|
||||
endif
|
||||
else # !NS_USE_GCC
|
||||
WARNING_CFLAGS = -W3 -nologo -D_CRT_SECURE_NO_WARNINGS \
|
||||
|
@ -179,10 +175,7 @@ else # !NS_USE_GCC
|
|||
else
|
||||
OPTIMIZER += -Zi -Fd$(OBJDIR)/ -Od
|
||||
NULLSTRING :=
|
||||
SPACE := $(NULLSTRING) # end of the line
|
||||
USERNAME := $(subst $(SPACE),_,$(USERNAME))
|
||||
USERNAME := $(subst -,_,$(USERNAME))
|
||||
DEFINES += -DDEBUG -UNDEBUG -DDEBUG_$(USERNAME)
|
||||
DEFINES += -DDEBUG -UNDEBUG
|
||||
DLLFLAGS += -DEBUG -OUT:$@
|
||||
LDFLAGS += -DEBUG
|
||||
ifeq ($(_MSC_VER),$(_MSC_VER_6))
|
||||
|
|
|
@ -10,4 +10,3 @@
|
|||
*/
|
||||
|
||||
#error "Do not include this header file."
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ Usage: build.sh [-h] [-c|-cc] [-v] [-j <n>] [--gyp|-g] [--opt|-o]
|
|||
[--nspr|--with-nspr=<include>:<lib>|--system-nspr]
|
||||
[--system-sqlite] [--enable-fips] [--enable-libpkix]
|
||||
[--mozpkix-only] [-D<gyp-option>]
|
||||
[--rebuild]
|
||||
|
||||
This script builds NSS with gyp and ninja.
|
||||
|
||||
|
@ -54,3 +55,5 @@ NSS build tool options:
|
|||
--disable-keylog disable support for logging key data to a file specified
|
||||
by the SSLKEYLOGFILE environment variable
|
||||
-D<gyp-option> pass an option directly to gyp
|
||||
--rebuild build again using the last set of options provided
|
||||
(all other arguments are ignored if --rebuild is used)
|
||||
|
|
|
@ -498,7 +498,7 @@ endif # target == SunO
|
|||
ifdef USE_64
|
||||
# no __int128 at least up to lcc 1.23 (pretending to be gcc5)
|
||||
# NB: CC_NAME is not defined here
|
||||
ifneq ($(shell $(CC) -? 2>&1 >/dev/null | sed -e 's/:.*//;1q'),lcc)
|
||||
ifneq ($(shell $(CC) -? 2>&1 >/dev/null </dev/null | sed -e 's/:.*//;1q'),lcc)
|
||||
ifdef CC_IS_CLANG
|
||||
HAVE_INT128_SUPPORT = 1
|
||||
DEFINES += -DHAVE_INT128_SUPPORT
|
||||
|
|
|
@ -24,7 +24,7 @@ static const ECMethod kMethods[] = {
|
|||
static const ECMethod *
|
||||
ec_get_method_from_name(ECCurveName name)
|
||||
{
|
||||
int i;
|
||||
unsigned long i;
|
||||
for (i = 0; i < sizeof(kMethods) / sizeof(kMethods[0]); ++i) {
|
||||
if (kMethods[i].name == name) {
|
||||
return &kMethods[i];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2016-2017 INRIA and Microsoft Corporation
|
||||
/* Copyright 2016-2018 INRIA and Microsoft Corporation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2016-2017 INRIA and Microsoft Corporation
|
||||
/* Copyright 2016-2018 INRIA and Microsoft Corporation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2016-2017 INRIA and Microsoft Corporation
|
||||
/* Copyright 2016-2018 INRIA and Microsoft Corporation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2016-2017 INRIA and Microsoft Corporation
|
||||
/* Copyright 2016-2018 INRIA and Microsoft Corporation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2016-2017 INRIA and Microsoft Corporation
|
||||
/* Copyright 2016-2018 INRIA and Microsoft Corporation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2016-2017 INRIA and Microsoft Corporation
|
||||
/* Copyright 2016-2018 INRIA and Microsoft Corporation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2016-2017 INRIA and Microsoft Corporation
|
||||
/* Copyright 2016-2018 INRIA and Microsoft Corporation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2016-2017 INRIA and Microsoft Corporation
|
||||
/* Copyright 2016-2018 INRIA and Microsoft Corporation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2016-2017 INRIA and Microsoft Corporation
|
||||
/* Copyright 2016-2018 INRIA and Microsoft Corporation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2016-2017 INRIA and Microsoft Corporation
|
||||
/* Copyright 2016-2018 INRIA and Microsoft Corporation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2016-2017 INRIA and Microsoft Corporation
|
||||
/* Copyright 2016-2018 INRIA and Microsoft Corporation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2016-2017 INRIA and Microsoft Corporation
|
||||
/* Copyright 2016-2018 INRIA and Microsoft Corporation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2016-2017 INRIA and Microsoft Corporation
|
||||
/* Copyright 2016-2018 INRIA and Microsoft Corporation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2016-2017 INRIA and Microsoft Corporation
|
||||
/* Copyright 2016-2018 INRIA and Microsoft Corporation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2016-2017 INRIA and Microsoft Corporation
|
||||
/* Copyright 2016-2018 INRIA and Microsoft Corporation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -234,14 +234,14 @@ GenerateKeyPairInner()
|
|||
if (!slot) {
|
||||
abort();
|
||||
}
|
||||
PK11RSAGenParams params;
|
||||
params.keySizeInBits = 2048;
|
||||
params.pe = 3;
|
||||
|
||||
// Bug 1012786: PK11_GenerateKeyPair can fail if there is insufficient
|
||||
// entropy to generate a random key. Attempting to add some entropy and
|
||||
// retrying appears to solve this issue.
|
||||
for (uint32_t retries = 0; retries < 10; retries++) {
|
||||
PK11RSAGenParams params;
|
||||
params.keySizeInBits = 2048;
|
||||
params.pe = 3;
|
||||
SECKEYPublicKey* publicKeyTemp = nullptr;
|
||||
ScopedSECKEYPrivateKey
|
||||
privateKey(PK11_GenerateKeyPair(slot.get(), CKM_RSA_PKCS_KEY_PAIR_GEN,
|
||||
|
@ -262,8 +262,9 @@ GenerateKeyPairInner()
|
|||
// random keys.
|
||||
// https://xkcd.com/221/
|
||||
static const uint8_t RANDOM_NUMBER[] = { 4, 4, 4, 4, 4, 4, 4, 4 };
|
||||
if (PK11_RandomUpdate((void*) &RANDOM_NUMBER,
|
||||
sizeof(RANDOM_NUMBER)) != SECSuccess) {
|
||||
if (PK11_RandomUpdate(
|
||||
const_cast<void*>(reinterpret_cast<const void*>(RANDOM_NUMBER)),
|
||||
sizeof(RANDOM_NUMBER)) != SECSuccess) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1069,7 +1069,7 @@ lg_FindTrustAttribute(LGObjectCache *obj, CK_ATTRIBUTE_TYPE type,
|
|||
NSSLOWCERTCertificate *cert;
|
||||
unsigned char hash[SHA1_LENGTH];
|
||||
unsigned int trustFlags;
|
||||
CK_RV crv;
|
||||
CK_RV crv = CKR_CANCEL;
|
||||
|
||||
switch (type) {
|
||||
case CKA_PRIVATE:
|
||||
|
|
|
@ -580,7 +580,7 @@ tls13_ClientSetupESNI(sslSocket *ss)
|
|||
size_t i;
|
||||
PRCList *cur;
|
||||
SECStatus rv;
|
||||
TLS13KeyShareEntry *share;
|
||||
TLS13KeyShareEntry *share = NULL;
|
||||
const sslNamedGroupDef *group = NULL;
|
||||
PRTime now = PR_Now() / PR_USEC_PER_SEC;
|
||||
|
||||
|
|
|
@ -55,9 +55,11 @@ make_cert() {
|
|||
msg="create certificate: $@"
|
||||
shift 2
|
||||
counter=$(($counter + 1))
|
||||
certscript $@ | ${BINDIR}/certutil -S \
|
||||
cmd=(${BINDIR}/certutil -S \
|
||||
-z "$R_NOISE_FILE" -d "$PROFILEDIR" \
|
||||
-n $name -s "CN=$name" -t "$trust" "${sign[@]}" -m "$counter" \
|
||||
-w -2 -v 120 -k "$type" "${type_args[@]}" "${sighash[@]}" -1 -2
|
||||
-w -2 -v 120 -k "$type" "${type_args[@]}" "${sighash[@]}" -1 -2)
|
||||
echo "${cmd[@]}"
|
||||
certscript $@ | "${cmd[@]}"
|
||||
html_msg $? 0 "$msg"
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче