Revision: 179
Author:
sma...@gmail.com
Date: Tue Mar 19 11:59:00 2013
Log: Fix bug in client certificate parsing that could cause valid
cert-based client configurations to be rejected at connection time.
http://code.google.com/p/omapd/source/detail?r=179
Modified:
/trunk/clienthandler.cpp
=======================================
--- /trunk/clienthandler.cpp Sun Feb 24 14:35:44 2013
+++ /trunk/clienthandler.cpp Tue Mar 19 11:59:00 2013
@@ -43,7 +43,7 @@
<<
cert.subjectInfo(QSslCertificate::OrganizationalUnitName)
<< cert.subjectInfo(QSslCertificate::CommonName);
} else if (target == ClientHandler::Issuer) {
- dnElements << cert.subjectInfo(QSslCertificate::Organization)
+ dnElements << cert.issuerInfo(QSslCertificate::Organization)
<< cert.issuerInfo(QSslCertificate::CountryName)
<< cert.issuerInfo(QSslCertificate::StateOrProvinceName)
<< cert.issuerInfo(QSslCertificate::LocalityName)