]> granicus.if.org Git - apache/commitdiff
Use the correct Apache-2.x EBCDIC conversion function (not the old apache-1.3 routine)
authorMartin Kraemer <martin@apache.org>
Tue, 29 Jun 2004 14:06:08 +0000 (14:06 +0000)
committerMartin Kraemer <martin@apache.org>
Tue, 29 Jun 2004 14:06:08 +0000 (14:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104082 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_vars.c

index 32c93b6725881364b9770804f697f5eafe15cc32..9dc7aecd74b0c920b388e3ded0e3dcffedcdebb2 100644 (file)
@@ -420,10 +420,9 @@ static char *ssl_var_lookup_ssl_cert_dn(apr_pool_t *p, X509_NAME *xsname, char *
                     result = apr_pstrmemdup(p, 
                                             X509_NAME_ENTRY_get_data_ptr(xsne),
                                             X509_NAME_ENTRY_get_data_len(xsne));
-#ifdef CHARSET_EBCDIC
-                    ascii2ebcdic(result, result, 
-                                 X509_NAME_ENTRY_get_data_len(xsne));
-#endif /* CHARSET_EBCDIC */
+#if APR_CHARSET_EBCDIC
+                    ap_xlate_proto_from_ascii(result, data_len);
+#endif /* APR_CHARSET_EBCDIC */
                     break;
                 }
             }