Jung-Ho Ahn wrote:
> 
> I extracted an issuer DN from a certificate and
> print out using X509_NAME_oneline.
> But there seems to be a decoding problem like:
> 
> Issuer: /Email=...  Inc./OU=\x00R\x00&\x00D\x00\x00t\x00e\x00r/...
> 
> How can I fix the problem?
> 

Its a BMPString which X509_NAME_oneline doesn't handle. Don't use
X509_NAME_oneline: use X509_NAME_print_ex instead. Check out the nameopt
options in the X509 utility for more info.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to