[Development] No SSL on iOS ?

Thiago Macieira thiago.macieira at intel.com
Mon Apr 28 18:14:00 CEST 2014


Em seg 28 abr 2014, às 09:44:49, Nichols Andy escreveu:
> The packaged (binary) versions of iOS do not include support for OpenSSL
> because that would require the static linking (and thus distribution) of
> OpenSSL which can be problematic due to export restrictions.  It is not
> possible to build in OpenSSL support as “runtime” on iOS with the code as
> it is now.  I explored some solutions for this involving using weak linking
> during the 5.2.0 release cycle but I was not successful.  Instead now if
> you want support for OpenSSL on iOS in Qt, you’ll need to build Qt yourself
> and provide your own static build of OpenSSL at Qt configure/build time.

Is dlopen also disabled on iOS?

If not, we could dlopen a copy of OpenSSL present inside the application's 
bundle or the QtNetwork.framework bundle (is there such a bundle?).

> It is possible still in the packaged versions of Qt for iOS to make
> connections using SSL via QNetworkAccessManager as there is a backend that
> uses Apples crypto API, but without OpenSSL support you can’t use any of
> the API’s in Qt that use OpenSSL directly (like QSSLSocket).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list