[Development] No SSL on iOS ?

Hausmann Simon Simon.Hausmann at digia.com
Mon Apr 28 18:18:08 CEST 2014


Unfortunately dlopen is not possible :(

Simon

  Opprinnelig melding
Fra: Thiago Macieira
Sendt: 18:14 mandag 28. april 2014
Til: development at qt-project.org
Emne: Re: [Development] No SSL on iOS ?


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

_______________________________________________
Development mailing list
Development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/development



More information about the Development mailing list