From: Martin Kraemer Date: Tue, 29 Jun 2004 14:06:08 +0000 (+0000) Subject: Use the correct Apache-2.x EBCDIC conversion function (not the old apache-1.3 routine) X-Git-Tag: pre_ajp_proxy~122 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97e2af662c8293072c86d7119c5394b561d68182;p=apache Use the correct Apache-2.x EBCDIC conversion function (not the old apache-1.3 routine) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104082 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_vars.c b/modules/ssl/ssl_engine_vars.c index 32c93b6725..9dc7aecd74 100644 --- a/modules/ssl/ssl_engine_vars.c +++ b/modules/ssl/ssl_engine_vars.c @@ -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; } }