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:
[EMAIL PROTECTED])
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to