Changeset 3351 in ntrip


Ignore:
Timestamp:
Aug 22, 2011, 2:44:21 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncnetqueryv2.cpp

    r3349 r3351  
    200200    msg += "\n" + err.errorString();
    201201  }
     202
     203  QSslCertificate cert = _reply->sslConfiguration().peerCertificate();
     204  if (!cert.isNull()) {
     205    QString issuer = QString("\nIssued by:\n%1\n%2\n")
     206      .arg(cert.issuerInfo(QSslCertificate::OrganizationalUnitName))
     207      .arg(cert.issuerInfo(QSslCertificate::Organization));
     208    msg += issuer;
     209  }
     210
    202211  ((bncApp*)qApp)->slotMessage(msg.toAscii(), true);
    203212
Note: See TracChangeset for help on using the changeset viewer.