[omapd] r179 committed - Fix bug in client certificate parsing that could cause valid cert-base...

0 views
Skip to first unread message

om...@googlecode.com

unread,
Mar 19, 2013, 2:59:04 PM3/19/13
to omapd...@googlegroups.com
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)
Reply all
Reply to author
Forward
0 new messages