/[Apache-SVN]
ViewVC logotype

Revision 1826300


Jump to revision: Previous Next
Author: jorton
Date: Fri Mar 9 07:55:27 2018 UTC (6 years, 3 months ago)
Changed paths: 6
Log Message:
Merge r1811976 from trunk:

Add optional _RAW suffix to SSL_*_DN_xx attribute names, allowing
users to convert an attribute value without conversion to UTF-8.  (A
public CA has issued certs with attributes tagged as the wrong ASN.1
string types.)

* modules/ssl/ssl_util_ssl.c (asn1_string_convert): Rename from
  asn1_string_to_utf8; add raw argument. Reimplement _to_utf8 as
  macro.
  (modssl_X509_NAME_ENTRY_to_string): Add raw argument.

* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_cert_dn): Use raw
  string conversion if _RAW suffix is present in DN component.

Submitted by: jorton
Reviewed by: jorton, jim, ylavic


Changed paths

Path Details
Directoryhttpd/httpd/branches/2.4.x/ modified , props changed
Directoryhttpd/httpd/branches/2.4.x/CHANGES modified , text changed
Directoryhttpd/httpd/branches/2.4.x/docs/manual/mod/mod_ssl.xml modified , text changed
Directoryhttpd/httpd/branches/2.4.x/modules/ssl/ssl_engine_vars.c modified , text changed
Directoryhttpd/httpd/branches/2.4.x/modules/ssl/ssl_util_ssl.c modified , text changed
Directoryhttpd/httpd/branches/2.4.x/modules/ssl/ssl_util_ssl.h modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26