Enables SSL for the given connection.
- Parameters
-
| connection | The connection to enable SSL for. |
- Returns
- IDEVICE_E_SUCCESS on success, IDEVICE_E_INVALID_ARG when connection is NULL or connection->ssl_data is non-NULL, or IDEVICE_E_SSL_ERROR when SSL initialization, setup, or handshake fails.