Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 732908
Collapse All | Expand All

(-)a/src/idevice.c (-6 / +1 lines)
Lines 922-928 static const char *ssl_error_to_string(int e) Link Here
922
		case SSL_ERROR_NONE:
922
		case SSL_ERROR_NONE:
923
			return "SSL_ERROR_NONE";
923
			return "SSL_ERROR_NONE";
924
		case SSL_ERROR_SSL:
924
		case SSL_ERROR_SSL:
925
			return ERR_error_string(ERR_get_error(), NULL);
925
			return "SSL_ERROR_SSL";
926
		case SSL_ERROR_WANT_READ:
926
		case SSL_ERROR_WANT_READ:
927
			return "SSL_ERROR_WANT_READ";
927
			return "SSL_ERROR_WANT_READ";
928
		case SSL_ERROR_WANT_WRITE:
928
		case SSL_ERROR_WANT_WRITE:
Lines 1015-1024 LIBIMOBILEDEVICE_API idevice_error_t idevice_connection_enable_ssl(idevice_conne Link Here
1015
		return ret;
1015
		return ret;
1016
	}
1016
	}
1017
1017
1018
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
1019
	SSL_CTX_set_security_level(ssl_ctx, 0);
1020
#endif
1021
1022
#if OPENSSL_VERSION_NUMBER < 0x10100002L || \
1018
#if OPENSSL_VERSION_NUMBER < 0x10100002L || \
1023
	(defined(LIBRESSL_VERSION_NUMBER) && (LIBRESSL_VERSION_NUMBER < 0x2060000fL))
1019
	(defined(LIBRESSL_VERSION_NUMBER) && (LIBRESSL_VERSION_NUMBER < 0x2060000fL))
1024
	/* force use of TLSv1 for older devices */
1020
	/* force use of TLSv1 for older devices */
1025
- 

Return to bug 732908