Skip to content
  • Joe Orton's avatar
    Merge r1811976 from trunk: · 43f1c1f1
    Joe Orton authored
    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
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1826300 13f79535-47bb-0310-9956-ffa450edef68
    43f1c1f1
To find the state of this project's repository at the time of any of these versions, check out the tags.