Fix binary incompatibility between openssl versions
authorShane Kearns <dbgshane@gmail.com>
Thu, 6 Dec 2012 17:03:18 +0000 (17:03 +0000)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Tue, 5 Feb 2013 21:52:29 +0000 (21:52 +0000)
commitb89acb0d13a36697a96dbb439819aed56bf4dfe7
treee5349b6105387d4f85aa85d23970a161a1de2d68
parentbaaad507222fe5e5ddcaa0b3c2562f63580068fa
Fix binary incompatibility between openssl versions

OpenSSL changed the layout of X509_STORE_CTX between 0.9 and 1.0
So we have to consider this struct as private implementation, and use
the access functions instead.

This bug would cause certificate verification problems if a different
version of openssl is loaded at runtime to the headers Qt was compiled
against.

Task-number: QTBUG-28343
Change-Id: I47fc24336f7d9c80f08f9c8ba6debc51a5591258
Reviewed-by: Richard J. Moore <rich@kde.org>
(cherry picked from commit eb2688c4c4f257d0a4d978ba4bf57d6347b15252)

Gbp-Pq: Name Fix_binary_incompatibility_between_openssl_versions.patch
src/network/ssl/qsslsocket_openssl.cpp
src/network/ssl/qsslsocket_openssl_symbols.cpp
src/network/ssl/qsslsocket_openssl_symbols_p.h