diff options
author | Nikias Bassen <nikias@gmx.li> | 2021-07-27 03:36:45 +0200 |
---|---|---|
committer | Nikias Bassen <nikias@gmx.li> | 2021-07-27 03:36:45 +0200 |
commit | ab1c815340afc2883c9ef08795eebd9bed1858c5 (patch) | |
tree | a188e92dfdff14e501bf42b5d880155468cffbdd /README.md | |
parent | 19eca85f90d9950596e1c6021d7b0f89407f5d7f (diff) | |
download | libimobiledevice-ab1c815340afc2883c9ef08795eebd9bed1858c5.tar.gz |
Add support for MbedTLS
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -94,10 +94,19 @@ make sudo make install ``` -By default, OpenSSL will be used. If you prefer GnuTLS, configure with -`--disable-openssl` like this: +By default, OpenSSL will be used as TLS/SSL library. If you prefer GnuTLS, +configure with `--with-gnutls` like this: ```bash -./autogen.sh --disable-openssl +./autogen.sh --with-gnutls +``` + +MbedTLS is also supported and can be enabled by passing `--with-mbedtls` to +configure. If mbedTLS is not installed in a default location, you need to set +the environment variables `mbedtls_INCLUDES` to the path that contains the +MbedTLS headers and `mbedtls_LIBDIR` to set the library path. Optionally, +`mbedtls_LIBS` can be used to set the library names directly. Example: +```bash +./autogen.sh --with-mbedtls mbedtls_INCLUDES=/opt/local/include mbedtls_LIBDIR=/opt/local/lib ``` ## Usage @@ -179,4 +188,4 @@ iPadOS, tvOS, watchOS, and macOS are trademarks of Apple Inc. This project is an independent software and has not been authorized, sponsored, or otherwise approved by Apple Inc. -README Updated on: 2020-06-12 +README Updated on: 2021-07-27 |