From: Martin Kraemer Date: Fri, 20 Jun 2003 12:52:18 +0000 (+0000) Subject: Use portable macro instead of the (no longer working) Apache-1.3 code X-Git-Tag: pre_ajp_proxy~1525 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2324dc400375156e068bc43611ff959c9871301d;p=apache Use portable macro instead of the (no longer working) Apache-1.3 code git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100314 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_util_ssl.c b/modules/ssl/ssl_util_ssl.c index faaebc4fda..eb5929eabb 100644 --- a/modules/ssl/ssl_util_ssl.c +++ b/modules/ssl/ssl_util_ssl.c @@ -405,9 +405,7 @@ BOOL SSL_X509_getCN(apr_pool_t *p, X509 *xs, char **cppCN) *cppCN = apr_palloc(p, data_len+1); apr_cpystrn(*cppCN, (char *)data_ptr, data_len+1); (*cppCN)[data_len] = NUL; -#ifdef CHARSET_EBCDIC - ascii2ebcdic(*cppCN, *cppCN, strlen(*cppCN)); -#endif + ap_xlate_proto_from_ascii(*cppCN, data_len); return TRUE; } }