[MacPorts] #58205: qt4-mac: preparing for openssl 1.1 migration
MacPorts
noreply at macports.org
Sun Sep 1 21:22:44 UTC 2019
#58205: qt4-mac: preparing for openssl 1.1 migration
-----------------------+-----------------------
Reporter: yan12125 | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qt4-mac |
-----------------------+-----------------------
Comment (by kencu):
I think this bit of the patch needs an openssl version test and #ifdefs
added, like the bit above has:
{{{
@@ -276,7 +280,7 @@ QByteArray QSslCertificate::serialNumber() const
{
QMutexLocker lock(QMutexPool::globalInstanceGet(d.data()));
if (d->serialNumberString.isEmpty() && d->x509) {
- ASN1_INTEGER *serialNumber = d->x509->cert_info->serialNumber;
+ ASN1_INTEGER *serialNumber = q_X509_get_serialNumber(d->x509);
// if we cannot convert to a long, just output the hexadecimal
number
if (serialNumber->length > 4) {
QByteArray hexString;
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58205#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list