Hello,

Does libcurl support OpenSSL 1.x?

I'm trying to build it under macOS and getting the following linker errors:

Undefined symbols for architecture x86_64:
  "_EVP_PKEY_get0_type_name", referenced from:
      _ossl_connect_common in libcurl.a(libcurl_la-openssl.o)
  "_EVP_PKEY_get_bits", referenced from:
      _ossl_connect_common in libcurl.a(libcurl_la-openssl.o)
  "_EVP_PKEY_get_bn_param", referenced from:
      _Curl_ossl_certchain in libcurl.a(libcurl_la-openssl.o)
  "_EVP_PKEY_get_group_name", referenced from:
      _ossl_connect_common in libcurl.a(libcurl_la-openssl.o)
  "_EVP_PKEY_get_id", referenced from:
      _Curl_ossl_certchain in libcurl.a(libcurl_la-openssl.o)
      _cert_stuff in libcurl.a(libcurl_la-openssl.o)
  "_EVP_PKEY_get_security_bits", referenced from:
      _ossl_connect_common in libcurl.a(libcurl_la-openssl.o)
  "_SSL_get1_peer_certificate", referenced from:
      _ossl_connect_common in libcurl.a(libcurl_la-openssl.o)
  "_X509_STORE_load_file", referenced from:
      _Curl_ssl_setup_x509_store in libcurl.a(libcurl_la-openssl.o)
  "_X509_STORE_load_path", referenced from:
      _Curl_ssl_setup_x509_store in libcurl.a(libcurl_la-openssl.o)

Builds fine when I build it with OpenSSL 3.x.

If it's not supported, what is the last version which does have support?
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to