Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trying to merge master and exe repos #2

Merged
merged 21 commits into from
Feb 3, 2024
Merged

trying to merge master and exe repos #2

merged 21 commits into from
Feb 3, 2024

Conversation

SarKaa
Copy link
Owner

@SarKaa SarKaa commented Feb 3, 2024

No description provided.

L1ghtmann and others added 21 commits October 26, 2023 09:28
Detect if we're talking to iOS 1 `if (connection->device->version == 0)`
and set `SSL_CTX_set_min_proto_version(ssl_ctx, 0);` to support SSL3.

iOS 1 doesn't understand TLS1_VERSION, it can only speak SSL3_VERSION.
However, modern OpenSSL is usually compiled without SSLv3 support.
So if we set min_proto_version to SSL3_VERSION on an OpenSSL instance which doesn't support it,
it will just ignore min_proto_version altogether and fall back to an even higher version.
To avoid accidentally breaking iOS 2.0+, we set min version to 0 instead.
Thanks to @SCOTT-HAMILTON for pointing this out.
This allows the same connection to be used again after sbservices_set_icon_state is called.
Fixes libimobiledevice#928.
In LibreSSL >= 3.5.0 many structs are defined as opaque as they are in
OpenSSL 1.1.
Since LibreSSL 3.6.0 SSL_CTX_set_security_level() has been available.
clang16 flags the missing header

Fixes
../../git/tools/idevicedevmodectl.c:363:2: error: call to undeclared function 'usleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]

Signed-off-by: Khem Raj <[email protected]>
merge latest commits to master
@SarKaa SarKaa merged commit ff5e904 into suite-exe Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
8 participants