diff options
author | Jack Lloyd <[email protected]> | 2018-03-21 10:28:26 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-21 10:28:26 -0400 |
commit | dbc51ba73c46f361753bd7d88828988d972a477e (patch) | |
tree | e59a14ce2b004417e7c0e665425fc0323a03d13c /src/lib/x509/x509path.cpp | |
parent | 2821d60c9c159851c3d236fcc2bdeafd2d733849 (diff) | |
parent | e2a0236d3c00b2a80ad22b8239e9752fb08f777e (diff) |
Merge GH #1504 Store DN entries in a vector
Diffstat (limited to 'src/lib/x509/x509path.cpp')
-rw-r--r-- | src/lib/x509/x509path.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/x509/x509path.cpp b/src/lib/x509/x509path.cpp index f703bf028..e73fe12b6 100644 --- a/src/lib/x509/x509path.cpp +++ b/src/lib/x509/x509path.cpp @@ -92,7 +92,8 @@ PKIX::check_chain(const std::vector<std::shared_ptr<const X509_Certificate>>& ce } // Check the subject's DN components' length - for(const auto& dn_pair : subject->subject_dn().get_attributes()) + + for(const auto& dn_pair : subject->subject_dn().dn_info()) { const size_t dn_ub = X509_DN::lookup_ub(dn_pair.first); // dn_pair = <OID,str> |