On Mon, Mar 23, 2020 at 6:01 PM Daniel Stenberg <dan...@haxx.se> wrote:
>
> On Mon, 23 Mar 2020, Jeffrey Walton via curl-library wrote:
>
> > Any ideas?
>
> Your OpenSSL was probably built with EGD disabled? The openssl/rand.h header
> has this (in both 1.1.1e as well as current git master):
>
> # ifndef OPENSSL_NO_EGD
> int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes);
> int RAND_egd(const char *path);
> int RAND_egd_bytes(const char *path, int bytes);
> # endif

Thanks.

I don't do anything special with EGD. I don't know what state it is in
in OpenSSL 1.1.1d. (I recall talk of OpenSSL removing it).

If that is the case, wouldn't this check detect lack of EGD
(https://github.com/curl/curl/blob/master/configure.ac#L1839):

    AC_CHECK_FUNCS( RAND_egd \
      SSLv2_client_method \
      OpenSSL_version )

I'm trying to figure out if tests are being performed against OpenSSL
1.0.2 instead of OpenSSL 1.1.1e.

Thanks.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to