Hi,

I'm using openssl with old certificates that has no seconds in the 
timefield. This means that the ASN1_TIME string is 11 bytes.

The length is not hardcoded in the x509 pieces, but in the 
ASN1_UTCTIME_cmp_time_t() function (in crypto/asn1/a_utctm.c) a length 
of 13 bytes is hardcoded.

My change is attached with #ifdef TIMEFIX, maybe not the best solution, 
but it works for me.

/Lars Nordin


crypto/asn1/a_utctm.c
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to