From f1d8e6b44fe6106e292433e0bdcaa52c32abfa6f Mon Sep 17 00:00:00 2001 From: Martin Kraemer Date: Fri, 20 Jun 2003 12:52:18 +0000 Subject: [PATCH] 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 --- ssl_util_ssl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; } } -- 2.47.2