Changeset 97372 in vbox for trunk/src/libs/openssl-3.0.7/crypto/rand/rand_egd.c
- Timestamp:
- Nov 2, 2022 7:40:16 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 154372
- Location:
- trunk/src/libs/openssl-3.0.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/openssl-3.0.7
- Property svn:mergeinfo
-
old new 15 15 /vendor/openssl/3.0.2:150728-150729 16 16 /vendor/openssl/3.0.3:151497-151729 17 /vendor/openssl/current:147554-151496 17 /vendor/openssl/3.0.7:154371 18 /vendor/openssl/current:147554-154370
-
- Property svn:mergeinfo
-
trunk/src/libs/openssl-3.0.7/crypto/rand/rand_egd.c
r94404 r97372 1 1 /* 2 * Copyright 2000-202 0The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 2000-2022 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 4 * Licensed under the Apache License 2.0 (the "License"). You may not use … … 41 41 # include <sys/socket.h> 42 42 # ifndef NO_SYS_UN_H 43 # ifdef OPENSSL_SYS_VXWORKS 44 # include <streams/un.h> 45 # else 46 # include <sys/un.h> 47 # endif 43 # include <sys/un.h> 48 44 # else 49 45 struct sockaddr_un { … … 59 55 * HPNS: 60 56 * 61 * Our current MQ 5.3 EGD requies compatability-mode sockets 62 * This code forces the mode to compatibility if required 63 * and then restores the mode. 57 * This code forces the use of compatibility mode if required on HPE NonStop 58 * when coreutils PRNGD is used and then restores the previous mode 59 * after establishing the socket. This is not required on x86 where hardware 60 * randomization should be used instead of EGD available as of OpenSSL 3.0. 61 * Use --with-rand-seed=rdcpu when configuring x86 with 3.0 and above. 64 62 * 65 63 * Needs review: … … 67 65 * The better long-term solution is to either run two EGD's each in one of 68 66 * the two modes or revise the EGD code to listen on two different sockets 69 * (each in one of the two modes) .67 * (each in one of the two modes) or use the hardware randomizer. 70 68 */ 71 69 _variable
Note:
See TracChangeset
for help on using the changeset viewer.