curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Aw: Re: Using CURLOPT_SSLVERSION?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 29 Jun 2018 12:32:33 +0200 (CEST)

On Fri, 29 Jun 2018, Bernhard Jaeger wrote:

> Do I call the option twice with different parameters to achieve that?
> Maybe update the documentation than aswell. It currently only says you can OR the
> two versions, there is no mentioning of an AND option.
> " It is also possible to OR one of the CURL_SSLVERSION_ macros with one of the
> CURL_SSLVERSION_MAX_ macros. "

You OR the bits in the value you pass to the option. The <minimum version> OR
<maximum version>. Then you set both the minimum and the maxmimum accepted
versions.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-06-29