Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
Tor
Commits
a252601f
Commit
a252601f
authored
2 weeks ago
by
David Goulet
Browse files
Options
Downloads
Plain Diff
Merge branch 'maint-0.4.8'
parents
6c0d17a3
4dc2fd58
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#259742
failed
2 weeks ago
Stage: test
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+19
-15
19 additions, 15 deletions
.gitlab-ci.yml
changes/ci-pin-chutney
+3
-0
3 additions, 0 deletions
changes/ci-pin-chutney
changes/ticket41029
+3
-0
3 additions, 0 deletions
changes/ticket41029
src/lib/crypt_ops/crypto_nss_mgt.c
+2
-0
2 additions, 0 deletions
src/lib/crypt_ops/crypto_nss_mgt.c
with
27 additions
and
15 deletions
.gitlab-ci.yml
+
19
−
15
View file @
a252601f
...
...
@@ -102,6 +102,8 @@ variables:
-
if [ "$NSS" = yes ]; then apt-get install libnss3 libnss3-dev; fi
# llvm-symbolizer for sanitizer backtrace
-
if [ "$HARDENING" = yes ]; then apt-get install llvm; fi
# libubsan1 for building with -fsanitize=address
-
if [ "$HARDENING" = yes ]; then apt-get install libubsan1 libclang-rt-dev; fi
# TODO: This next line should not be debian-only.
-
if [ "$STEM" = yes ]; then git clone --depth 1 https://gitlab.torproject.org/tpo/network-health/stem.git ; export STEM_PATH="$(pwd)/stem"; fi
# TODO: This next line should not be debian-only.
...
...
@@ -113,18 +115,19 @@ variables:
git clone --shallow-since "$CHUTNEY_SHALLOW_SINCE" https://gitlab.torproject.org/tpo/core/chutney.git
git -C ./chutney checkout "$CHUTNEY_COMMIT"
apt install python3-venv
export CHUTNEY_PATH="$(pwd)/chutney"
# Have pip install chutney's python dependencies by installing chutney
# itself.
apt-get install python3-pip
pip3 install --user ./chutney
python3 -m venv venv
venv/bin/pip install ./chutney
fi
-
if [ "$TRACING" = yes ]; then apt install liblttng-ust-dev; fi
# Minimal check on debian: just make, make check.
#
debian-minimal
:
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ullseye
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ookworm
<<
:
*debian-template
script
:
-
./scripts/ci/ci-driver.sh
...
...
@@ -135,7 +138,7 @@ debian-i386-minimal:
# TODO: Use a TPA-maintained image when there is one.
# See https://gitlab.torproject.org/tpo/tpa/base-images/-/issues/3
image
:
name
:
i386/debian:b
ullseye
name
:
i386/debian:b
ookworm
docker
:
platform
:
linux/386
<<
:
*debian-template
...
...
@@ -148,7 +151,7 @@ debian-i386-minimal:
#
# TODO: This will be faster once we merge #40098 and #40099.
debian-hardened
:
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ullseye
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ookworm
<<
:
*debian-template
variables
:
ALL_BUGS_ARE_FATAL
:
"
yes"
...
...
@@ -160,7 +163,7 @@ debian-hardened:
#####
# Distcheck on debian stable
debian-distcheck
:
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ullseye
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ookworm
<<
:
*debian-template
variables
:
DISTCHECK
:
"
yes"
...
...
@@ -171,7 +174,7 @@ debian-distcheck:
#####
# Documentation tests on debian stable: doxygen and asciidoc.
debian-docs
:
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ullseye
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ookworm
<<
:
*debian-template
variables
:
DOXYGEN
:
"
yes"
...
...
@@ -189,7 +192,7 @@ debian-docs:
# with the 'artifacts' mechanism, in theory, but it would be good to
# avoid having to have a system with hundreds of artifacts.
debian-integration
:
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ullseye
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ookworm
<<
:
*debian-template
variables
:
CHECK
:
"
no"
...
...
@@ -198,12 +201,13 @@ debian-integration:
STEM
:
"
yes"
ALL_BUGS_ARE_FATAL
:
"
yes"
script
:
-
source venv/bin/activate
-
./scripts/ci/ci-driver.sh
#####
# Tracing build on Debian stable.
debian-tracing
:
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ullseye
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ookworm
<<
:
*debian-template
variables
:
TRACING
:
"
yes"
...
...
@@ -215,7 +219,7 @@ debian-tracing:
#####
# No-authority mode
debian-disable-dirauth
:
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ullseye
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ookworm
<<
:
*debian-template
variables
:
DISABLE_DIRAUTH
:
"
yes"
...
...
@@ -225,7 +229,7 @@ debian-disable-dirauth:
#####
# No-relay mode
debian-disable-relay
:
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ullseye
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ookworm
<<
:
*debian-template
variables
:
DISABLE_RELAY
:
"
yes"
...
...
@@ -235,7 +239,7 @@ debian-disable-relay:
#####
# GPL licensed mode, enables pow module
debian-gpl
:
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ullseye
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ookworm
<<
:
*debian-template
variables
:
GPL
:
"
yes"
...
...
@@ -245,7 +249,7 @@ debian-gpl:
#####
# NSS check on debian
debian-nss
:
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ullseye
image
:
containers.torproject.org/tpo/tpa/base-images/debian:b
ookworm
<<
:
*debian-template
variables
:
NSS
:
"
yes"
...
...
This diff is collapsed.
Click to expand it.
changes/ci-pin-chutney
0 → 100644
+
3
−
0
View file @
a252601f
o Minor feature (testing, CI):
- Use a fixed version of chutney (be881a1e) instead of its current HEAD.
This version should also be preferred when testing locally.
This diff is collapsed.
Click to expand it.
changes/ticket41029
0 → 100644
+
3
−
0
View file @
a252601f
o Minor features (continuous integration):
- Upgrade CI runners to use Debian Bookworm instead of Bullseye. Closes
ticket 41029.
This diff is collapsed.
Click to expand it.
src/lib/crypt_ops/crypto_nss_mgt.c
+
2
−
0
View file @
a252601f
...
...
@@ -16,6 +16,7 @@
#include
"lib/log/util_bug.h"
#include
"lib/string/printf.h"
DISABLE_GCC_WARNING
(
"-Wredundant-decls"
)
DISABLE_GCC_WARNING
(
"-Wstrict-prototypes"
)
#include
<nss.h>
#include
<pk11func.h>
...
...
@@ -25,6 +26,7 @@ DISABLE_GCC_WARNING("-Wstrict-prototypes")
#include
<prtypes.h>
#include
<prinit.h>
ENABLE_GCC_WARNING
(
"-Wstrict-prototypes"
)
ENABLE_GCC_WARNING
(
"-Wredundant-decls"
)
const
char
*
crypto_nss_get_version_str
(
void
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment