[EMAIL PROTECTED] wrote:
>
>
> Thank you for your answer.
> Yes of course you're right for RFC 2459, but in the RFC 3161 that defines
> the
> Time Stamp Protocol:
> The ASN.1 GeneralizedTime syntax can include fraction-of-second
> details. Such syntax, without the restrictions from [RFC 2459]
> Section 4.1.2.5.2, where GeneralizedTime is limited to represent the
> time with a granularity of one second, may be used here.
>
> GeneralizedTime values MUST include seconds. However, when there is
> no need to have a precision better than the second, then
> GeneralizedTime with a precision limited to one second SHOULD be used
> (as in [RFC 2459]).
>
> The syntax is: YYYYMMDDhhmmss[.s...]Z
> Example: 19990609001326.34352Z
>
> And are also mentioned the DER encoding rules of X.690 for the same case.
> Therefore we need to a little patch for
> the function ASN1_GENERALIZEDTIME_check in order to be able
> to accept time as indicated in the above example
>
Fair enough. I'll look into fixing it.
Steve.
--
Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED]
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]