Commit fbaab7d
deps: openssl: cherry-pick 4dcb150ea30f
OpenSSL 1.1.1d does not ship with getrandom syscall being
predefined on all architectures. So when NodeJS is run with glibc
prior to 2.25, where getentropy is unavailable, and the getrandom
syscall is unknown, it will fail. PPC64LE or s390 are affected
by lack of this definition.
Original commit message.
commit 4dcb150ea30f9bbfa7946e6b39c30a86aca5ed02
Author: Kurt Roeckx <kurt@roeckx.be>
Date: Sat Sep 28 14:59:32 2019 +0200
Add defines for __NR_getrandom for all Linux architectures
Fixes: openssl/openssl#10015
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
GH: openssl/openssl#10044
Fixes: #31671
PR-URL: #32002
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>1 parent 9325634 commit fbaab7dCopy full SHA for fbaab7d
File tree
Expand file treeCollapse file tree
1 file changed
+49
-3
lines changedOpen diff view settings
Filter options
- deps/openssl/openssl/crypto/rand
Expand file treeCollapse file tree
1 file changed
+49
-3
lines changedOpen diff view settings
Collapse file
deps/openssl/openssl/crypto/rand/rand_unix.c
Copy file name to clipboardExpand all lines: deps/openssl/openssl/crypto/rand/rand_unix.c+49-3Lines changed: 49 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
282 | 282 | |
283 | 283 | |
284 | 284 | |
285 | | - |
| 285 | + |
286 | 286 | |
287 | 287 | |
288 | 288 | |
289 | | - |
290 | | - |
| 289 | + |
| 290 | + |
| 291 | + |
| 292 | + |
| 293 | + |
| 294 | + |
| 295 | + |
| 296 | + |
| 297 | + |
| 298 | + |
| 299 | + |
| 300 | + |
| 301 | + |
| 302 | + |
| 303 | + |
| 304 | + |
| 305 | + |
| 306 | + |
| 307 | + |
| 308 | + |
| 309 | + |
| 310 | + |
| 311 | + |
| 312 | + |
| 313 | + |
| 314 | + |
| 315 | + |
| 316 | + |
| 317 | + |
| 318 | + |
| 319 | + |
| 320 | + |
| 321 | + |
| 322 | + |
| 323 | + |
| 324 | + |
| 325 | + |
| 326 | + |
| 327 | + |
| 328 | + |
| 329 | + |
| 330 | + |
| 331 | + |
| 332 | + |
| 333 | + |
| 334 | + |
| 335 | + |
| 336 | + |
291 | 337 | |
292 | 338 | |
293 | 339 | |
|
0 commit comments