Daniel Stenberg wrote:

To build with multiple backends, just specify all you want on the configure line. Ie "--with-ssl --with-gnutls" builds with both OpenSSL *and* GnuTLS.

Tell configure which backend to use by default when built to use several, with 
--with-default-ssl-backend.

I tried it on Windows (MSVC). No configure, so a bit of tweaking was needed.
I built with "OpenSSL", "SChannel" and "WolfSSL" (and -DCURL_WITH_MULTI_SSL)
and a:
  set CURL_SSL_BACKEND=schannel (or openssl)
  curl -v https://google.com

works perfectly. But with a "set CURL_SSL_BACKEND=cyassl" it does not:
  curl: (35) SSL_connect failed with error -313: revcd alert fatal error

I'm looking into it here.

Questions?

In curl.h there is:
  CURLSSLBACKEND_CYASSL = 7,
  ..
  #define CURLSSLBACKEND_WOLFSSL 6

Shouldn't that be:
  #define CURLSSLBACKEND_WOLFSSL 7

since WolfSSL once was named CyaSSL?

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

Reply via email to