Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: How to pass additional flags to OPENSSL_init_ssl?
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Ray Satiro via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 7 Apr 2022 18:03:00 -0400
On 4/7/2022 5:22 AM, 豪殷 via curl-library wrote:
> We use curl 7.80.0 with openssl 3.0.2 in our environment, I wonder
> what is the proper way to pass additional flags from global_init
> to OPENSSL_init_ssl?
>
> Seems like some flags will be added in compile-time in ossl_init
> function, but run time addition of flags is currently not supported.
>
> Is there any other way to bypass this, or maybe a PR is needed?
That's right it's not supported. You'd have to call OPENSSL_init_ssl on
your own, before libcurl global init.
Date: Thu, 7 Apr 2022 18:03:00 -0400
On 4/7/2022 5:22 AM, 豪殷 via curl-library wrote:
> We use curl 7.80.0 with openssl 3.0.2 in our environment, I wonder
> what is the proper way to pass additional flags from global_init
> to OPENSSL_init_ssl?
>
> Seems like some flags will be added in compile-time in ossl_init
> function, but run time addition of flags is currently not supported.
>
> Is there any other way to bypass this, or maybe a PR is needed?
That's right it's not supported. You'd have to call OPENSSL_init_ssl on
your own, before libcurl global init.
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2022-04-08