I found this by code inspection.

In crypto/asn1/t_x509.c, in the function X509_NAME_print().

first is initialize to 1.

Then the only time it is used is this sequence later

if ((l <= 0) && !first)
first = 0;
if (BIO....

I am not sure what the code is trying to do so I cannot submit a patch
that corrects it. I thought I would merely point out the logic error.

(if you need to contact me, remove the underbars from my email address:
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org