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-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1d8e6b44fe6106e292433e0bdcaa52c32abfa6f;p=thirdparty%2Fapache%2Fhttpd.git 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/modules/ssl@100314 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_util_ssl.c b/ssl_util_ssl.c index faaebc4fdaa..eb5929eabb2 100644 --- a/ssl_util_ssl.c +++ b/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; } }