/[Apache-SVN]
ViewVC logotype

Revision 1655919


Jump to revision: Previous Next
Author: breser
Date: Fri Jan 30 02:39:24 2015 UTC (9 years, 2 months ago)
Changed paths: 2
Log Message:
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.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_subr/x509parse.c modified , text changed
Directorysubversion/trunk/subversion/tests/libsvn_subr/x509-test.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26