diff options
author | Martin Kraemer <martin@apache.org> | 2003-06-20 14:52:18 +0200 |
---|---|---|
committer | Martin Kraemer <martin@apache.org> | 2003-06-20 14:52:18 +0200 |
commit | 2324dc400375156e068bc43611ff959c9871301d (patch) | |
tree | 61e3aaf7865b38ae00605e90afcf42051a08d7c2 /modules/ssl/ssl_util_ssl.c | |
parent | Needed on EBCDIC systems (diff) | |
download | apache2-2324dc400375156e068bc43611ff959c9871301d.tar.xz apache2-2324dc400375156e068bc43611ff959c9871301d.zip |
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
Diffstat (limited to 'modules/ssl/ssl_util_ssl.c')
-rw-r--r-- | modules/ssl/ssl_util_ssl.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; } } |