Commit b2b0bf8
quic: update the guard to check openssl version
Since we need to be able to use the openssl adapter provided
by the ngtcp2 library, and because that adapter does not include
any compile guards to ensure that OpenSSL 3.5 is being used and
that the APIs are actually available, we need to add a compile
time check for the openssl version in order to conditionally
include the adapter to avoid build errors when using a shared
openssl library that is not OpenSSL 3.5.
Signed-off-by: James M Snell <jasnell@gmail.com>
PR-URL: #59249
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>1 parent e073b38 commit b2b0bf8Copy full SHA for b2b0bf8
3 files changed
+92-10Lines changed: 92 additions & 10 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- deps/ngtcp2
- src/quic
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+61Lines changed: 61 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1308 | 1308 | |
1309 | 1309 | |
1310 | 1310 | |
| 1311 | + |
| 1312 | + |
| 1313 | + |
| 1314 | + |
| 1315 | + |
| 1316 | + |
| 1317 | + |
| 1318 | + |
| 1319 | + |
| 1320 | + |
| 1321 | + |
| 1322 | + |
| 1323 | + |
| 1324 | + |
| 1325 | + |
| 1326 | + |
| 1327 | + |
| 1328 | + |
| 1329 | + |
| 1330 | + |
| 1331 | + |
| 1332 | + |
| 1333 | + |
| 1334 | + |
| 1335 | + |
| 1336 | + |
| 1337 | + |
| 1338 | + |
| 1339 | + |
| 1340 | + |
| 1341 | + |
| 1342 | + |
| 1343 | + |
| 1344 | + |
| 1345 | + |
| 1346 | + |
| 1347 | + |
| 1348 | + |
| 1349 | + |
| 1350 | + |
| 1351 | + |
| 1352 | + |
| 1353 | + |
| 1354 | + |
| 1355 | + |
| 1356 | + |
| 1357 | + |
| 1358 | + |
| 1359 | + |
| 1360 | + |
| 1361 | + |
| 1362 | + |
| 1363 | + |
| 1364 | + |
| 1365 | + |
| 1366 | + |
| 1367 | + |
| 1368 | + |
| 1369 | + |
1311 | 1370 | |
1312 | 1371 | |
1313 | 1372 | |
| ||
1948 | 2007 | |
1949 | 2008 | |
1950 | 2009 | |
| 2010 | + |
| 2011 | + |
1951 | 2012 | |
1952 | 2013 | |
1953 | 2014 | |
|
Collapse file
+30-1Lines changed: 30 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
129 | 129 | |
130 | 130 | |
131 | 131 | |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | + |
| 161 | + |
132 | 162 | |
133 | 163 | |
134 | 164 | |
| ||
143 | 173 | |
144 | 174 | |
145 | 175 | |
146 | | - |
147 | 176 | |
148 | 177 | |
149 | 178 | |
|
Collapse file
src/quic/guard.h
Copy file name to clipboard+1-9Lines changed: 1 addition & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
| 3 | + |
12 | 4 | |
13 | 5 | |
0 commit comments