curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl_ssl_random fails in 7.52.1 when SSL backend has no random support

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 12 Jan 2017 17:37:11 +0100 (CET)

On Thu, 12 Jan 2017, John Kohl wrote:

> The SSL backends that have no random support return CURLE_NOT_BUILT_IN as
> their value for curlssl_random(). This causes vtls.c:Curl_ssl_random() to
> fail and return CURLE_FAILED_INIT, which then causes rand.c:randit() to give
> up and return an error.

Ouch. Another case that worked for me when I tested locally because I built
debug-enabled... :-/ I'll write up a fix. Stay tuned.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2017-01-12