Some crates provide optional support for rustls as an alternative to
openssl. Take a look at the Cargo.toml for corresponding feature flags.

On Wed, Jul 10, 2024 at 02:47:36PM GMT, Rob Schmersel wrote:
> Hi,
> 
> Looking for advice on how one can build rust programs that require
> openSSL support on OpenBSD -current
> 
> No matter what I try I keep coming back to errors like:
> 
>  cargo:libressl_version_number=3090000f
> 
>   --- stderr
>   thread 'main' panicked at
>   
> /home/lobo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.96/build/main.rs:334:5:
> 
> 
>   This crate is only compatible with OpenSSL (version 1.0.1 through
>   1.1.1, or 3), or LibreSSL 2.5 through 3.8.1, but a different version
>   of OpenSSL was found. The build is now aborting due to this version
>   mismatch.
> 
> Or is it better to ask this on ports@?
> 
> BR/Rob
> 

Reply via email to