mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 06:26:15 +01:00
Warn if legacy compiled with rustls
This commit is contained in:
@@ -480,6 +480,12 @@ impl Idevice {
|
||||
) -> Result<(), IdeviceError> {
|
||||
#[cfg(feature = "rustls")]
|
||||
{
|
||||
if legacy {
|
||||
tracing::warn!(
|
||||
"Compiled with rustls, but connecting to legacy device! rustls does not support old SSL, this will fail."
|
||||
);
|
||||
}
|
||||
|
||||
if CryptoProvider::get_default().is_none() {
|
||||
// rust-analyzer will choke on this block, don't worry about it
|
||||
let crypto_provider: CryptoProvider = {
|
||||
|
||||
Reference in New Issue
Block a user