-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
egd: delete feature detection and related source code #11556
Conversation
Managed to fix this as a side-effect of adding |
Because OpenSSL libs are not linked at this point. The feature could still be (probably) force-enabled manually by setting `EGD_SOCKET` and `HAVE_RAND_EGD`, and using a sufficiently obsolete OpenSSL version. Closes #xxxxx
HAVE_RAND_EGD
detectionHAVE_RAND_EGD
detection
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but I think there are a few more traces of RAND_EGD
you can wipe out while at it:
$ git grep -l RAND_EGD | wc -l
10
autotools detects Do we want to also delete autotools detections bits? and the actual use inside |
Yes let's do that. I think that was only for OpenSSL before 1.1 and already then I believe very few actually used this. |
HAVE_RAND_EGD
detectionEGD is Entropy Gathering Daemon, a socket-based entropy source supported by pre-OpenSSL v1.1 versions and now deprecated. curl also deprecated it a while ago. Its detection in CMake was broken all along because OpenSSL libs were not linked at the point of feature check. Delete detection from both cmake and autotools, along with the related source snippet, and the `--with-egd-socket=` `./configure` option. Closes curl#11556
EGD is Entropy Gathering Daemon, a socket-based entropy source supported
by pre-OpenSSL v1.1 versions and now deprecated. curl also deprecated it
a while ago.
Its detection in CMake was broken all along because OpenSSL libs were
not linked at the point of feature check.
Delete detection from both cmake and autotools, along with the related
source snippet, and the
--with-egd-socket=
./configure
option.Closes #11556