libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ idevice_connection_disable_bypass_ssl()

idevice_error_t idevice_connection_disable_bypass_ssl ( idevice_connection_t  connection,
uint8_t  sslBypass 
)

Disable bypass SSL for the given connection without sending out terminate messages.

Parameters
connectionThe connection to disable SSL for.
sslBypassif true ssl connection will not be terminated but just cleaned up, allowing plain text data going on underlying connection
Returns
IDEVICE_E_SUCCESS on success, IDEVICE_E_INVALID_ARG when connection is NULL. This function also returns IDEVICE_E_SUCCESS when SSL is not enabled and does no further error checking on cleanup.