Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the X.509 parser to support multiple Relative Distinguished Names…
… (RDN). Certificates of this nature can be somewhat questionable as to their validity, but for our purposes it's irrelevant and sometimes people generate certificates this way. So simply accept them and ignore the minor semantic difference. * subversion/libsvn_subr/x509parse.c (x509_get_attribute): New function. (x509_get_name): Remove the code that went into x509_get_attribute() and iterate over the members of the RDN set. Adjust some variables and comments variables to be clearer in the process. * subversion/tests/libsvn_subr/x509-test.c (cert_tests): Add the cert from Chromium's test suite for this. git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1655919 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information
Showing
2 changed files
with
75 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters