diff --git a/quic/s2n-quic-crypto/Cargo.toml b/quic/s2n-quic-crypto/Cargo.toml index 317b06fe96..5e9c6ee7be 100644 --- a/quic/s2n-quic-crypto/Cargo.toml +++ b/quic/s2n-quic-crypto/Cargo.toml @@ -22,7 +22,13 @@ s2n-quic-core = { version = "=0.32.0", path = "../s2n-quic-core", default-featur zeroize = { version = "1", default-features = false, features = ["derive"] } [target.'cfg(not(target_os = "windows"))'.dependencies] -aws-lc-rs = { version = "1.5" } +# Restrict the version to avoid symbol conflicts from multiple version of 'aws-lc-sys'. +# +# Both 's2n-quic-crypto' and 's2n-tls-sys' end up depending on 'aws-lc-sys'. Update +# this dependency once s2n-tls-sys starts consuming a higher version of aws-lc-sys. +# +# https://github.com/aws/s2n-quic/pull/2104#issuecomment-1918559366 +aws-lc-rs = { version = "=1.5" } [target.'cfg(target_os = "windows")'.dependencies] ring = { version = "0.16", default-features = false }