DER is a binary format, and could well have nul bytes and other
values outside the domain of C strings.

>while ((ch=getc(CERT))!= EOF)
>     putchar(ch);

Make sure that it's "int ch;"
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to