httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sander Temme <san...@temme.net>
Subject UTF-8 strings through ap_log_cerror()?
Date Wed, 28 Apr 2010 02:29:13 GMT
Folks, 

Referring to this exchange: 

http://www.mail-archive.com/openssl-users@openssl.org/msg60934.html

the culprit calling X509_NAME_oneline() is obviously us, around ssl_engine_kernel.c: 1318
in 2.2.x-head.  While this code has moved to ssl_engine_log.c in trunk, we're still calling
the deprecated function.  

According to dr. Stephen, the correct function to call is X509_NAME_print_ex(), but that writes
to a BIO.  Could a string be made of a BIO?  And if one were, would ap_log_cerror() be able
to print it in all its UTF-8-y glory? 

S.

-- 
sander@temme.net              http://www.temme.net/sander/
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF


Mime
View raw message