Hi,

In openssl-0.9.8i/crypto/asn1/t_x509.c ASN1_UTCTIME_print(),
a new condition i >=12 is added, but the "i" is reset by the loop "for
(i=0; i<10; i++)". So the condition always evaluates to false, and the
"second" part of the time is always set to zero. I think the "i"
should be changed to tm->length.
Same problem happens in ASN1_GENERALIZEDTIME_print().

Regards,
Chih-Chung Chang

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to