Skip to content

Commit f957066

Browse files
committed
Merge commit '7b21e5a4ef7f7ca50a1353cf85786fcefc2b9d70'
2 parents 590ddd5 + 7b21e5a commit f957066

File tree

1,241 files changed

+51037
-11553
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,241 files changed

+51037
-11553
lines changed

openssl/.ctags.d/langmap.ctags

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#
2+
# Copyright 2025 The OpenSSL Project Authors. All Rights Reserved.
3+
#
4+
# Licensed under the Apache License 2.0 (the "License"). You may not use
5+
# this file except in compliance with the License. You can obtain a copy
6+
# in the file LICENSE in the source distribution or at
7+
# https://www.openssl.org/source/license.html
8+
#
9+
10+
--langmap=C:+.h
11+
--langmap=C:+.inc
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Copyright 2021-2025 The OpenSSL Project Authors. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License 2.0 (the "License"). You may not use
4+
# this file except in compliance with the License. You can obtain a copy
5+
# in the file LICENSE in the source distribution or at
6+
# https://www.openssl.org/source/license.html
7+
8+
name: Backports CI
9+
10+
on: [pull_request]
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
check_backports:
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
release: [
21+
{
22+
branch: '3.6',
23+
cppflags: ''
24+
}, {
25+
branch: '3.5',
26+
cppflags: 'CPPFLAGS=-ansi'
27+
}, {
28+
branch: '3.4',
29+
cppflags: 'CPPFLAGS=-ansi'
30+
}, {
31+
branch: '3.3',
32+
cppflags: 'CPPFLAGS=-ansi',
33+
}, {
34+
branch: '3.2',
35+
cppflags: 'CPPFLAGS=-ansi'
36+
}, {
37+
branch: '3.0',
38+
cppflags: 'CPPFLAGS=-ansi'
39+
}
40+
]
41+
runs-on: ubuntu-latest
42+
steps:
43+
- uses: actions/checkout@v4
44+
if: ${{ contains(join(github.event.pull_request.labels.*.name,','),matrix.release.branch) }}
45+
with:
46+
ref: ${{ github.event.pull_request.head.sha }}
47+
fetch-depth: 0
48+
- name: cherry-pick
49+
if: ${{ contains(join(github.event.pull_request.labels.*.name,','),matrix.release.branch) }}
50+
run: |
51+
REFEND=$(git rev-parse HEAD)
52+
REFSTART=$(git rev-parse $REFEND~${{ github.event.pull_request.commits }})
53+
git checkout ${{ format('openssl-{0}', matrix.release.branch) }}
54+
git config user.name "OpenSSL Machine"
55+
git config user.email "openssl-machine@openssl.org"
56+
echo Cherry-picking $REFSTART..$REFEND
57+
git cherry-pick $REFSTART..$REFEND
58+
- name: config
59+
if: ${{ contains(join(github.event.pull_request.labels.*.name,','),matrix.release.branch) }}
60+
run: ${{ matrix.release.cppflags }} ./config --strict-warnings --banner=Configured no-asm enable-fips --strict-warnings -D_DEFAULT_SOURCE && perl configdata.pm --dump
61+
- name: make
62+
if: ${{ contains(join(github.event.pull_request.labels.*.name,','),matrix.release.branch) }}
63+
run: make -s -j4
64+
- name: make test
65+
if: ${{ contains(join(github.event.pull_request.labels.*.name,','),matrix.release.branch) }}
66+
run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}

openssl/.github/workflows/build_quic_interop_container.yml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Build openssl interop container from master"
1+
name: "Build openssl interop containers"
22

33
on:
44
schedule:
@@ -7,11 +7,10 @@ on:
77

88
jobs:
99
update_quay_container:
10+
if: github.repository == 'openssl/openssl'
1011
runs-on: ubuntu-latest
1112
steps:
1213
- uses: actions/checkout@v4
13-
with:
14-
fetch-depth: 0
1514
- name: "log in to quay.io"
1615
run: |
1716
docker login -u openssl-ci+machine -p ${{ secrets.QUAY_IO_PASSWORD }} quay.io
@@ -23,3 +22,25 @@ jobs:
2322
run: |
2423
docker push quay.io/openssl-ci/openssl-quic-interop:latest
2524
25+
update_msquic_quay_container:
26+
if: github.repository == 'openssl/openssl'
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v4
30+
with:
31+
repository: microsoft/msquic
32+
ref: main
33+
submodules: recursive
34+
- name: "log in to quay.io"
35+
run: |
36+
docker login -u openssl-ci+machine -p ${{ secrets.QUAY_IO_PASSWORD }} quay.io
37+
- name: Patch qns.Dockerfile
38+
run: |
39+
sed -i 's/RUN cmake -DQUIC_BUILD_TOOLS=on -DQUIC_ENABLE_LOGGING=on ../RUN cmake -DQUIC_BUILD_TOOLS=on -DQUIC_ENABLE_LOGGING=on -DQUIC_TLS_LIB=openssl ../' ./scripts/qns.Dockerfile
40+
if grep -q "RUN cmake -DQUIC_BUILD_TOOLS=on -DQUIC_ENABLE_LOGGING=on -DQUIC_TLS_LIB=openssl .." ./scripts/qns.Dockerfile; then echo "Patched successfully"; else exit 1; fi
41+
- name: "Build container"
42+
run: |
43+
docker build -f ./scripts/qns.Dockerfile -t quay.io/openssl-ci/msquic-openssl:latest .
44+
- name: "Push to quay"
45+
run: |
46+
docker push quay.io/openssl-ci/msquic-openssl:latest

0 commit comments

Comments
 (0)