I agree with that,
My question is about missing T between date and time. This is what
failed in perl, and I think openssl should put this in ASN1_GENERALIZEDTIME.
In openssl this time is in format:
19940203141529Z and perl expect it as
19940203T141529Z
Regards,
Dimitar
On 6/21/05, Stephen Henson via RT <[EMAIL PROTECTED]> wrote:
>
> [EMAIL PROTECTED] - Tue Jun 21 15:24:18 2005]:
>
> > I am using perl to parse result from openssl's ASN.1 and found
> > following problem:
> >
> > Perl request ASN1_GENERALIZEDTIME to be in format "19940203T141529Z".
> > Openssl functrion ASN1_GENERALIZEDTIME_set does not set "T" between
> > date
> > and time. Regarding ISO 8601 standart it looks like bug for me. In my
> > opinion "T" should be set to follow standart.
> >
> > All openssl versions are affected(incl. today's 0.9.8b6).
> >
>
> From RFC3280:
>
> For the purposes of this profile, GeneralizedTime values MUST be
> expressed Greenwich Mean Time (Zulu) and MUST include seconds (i.e.,
> times are YYYYMMDDHHMMSSZ), even where the number of seconds is zero.
> GeneralizedTime values MUST NOT include fractional seconds.
>
> Various other standards have a similar requirements.
>
> Steve.
>
>
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]