Changeset 9708 in ntrip


Ignore:
Timestamp:
May 4, 2022, 10:29:24 PM (2 weeks ago)
Author:
stuerze
Message:

small bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncnetqueryv2.cpp

    r9706 r9708  
    210210  QString msg = "SSL Error\n";
    211211  QSslCertificate cert = _reply->sslConfiguration().peerCertificate();
    212   if (!cert.isNull()) {
     212  if (!cert.isNull() &&
     213      cert.issuerInfo(QSslCertificate::OrganizationalUnitName).count() &&
     214      cert.issuerInfo(QSslCertificate::Organization).count()) {
    213215    msg += QString("Server Certificate Issued by:\n"
    214216                   "%1\n%2\nCannot be verified\n")
Note: See TracChangeset for help on using the changeset viewer.