Project

General

Profile

Actions

Bug #5886

closed

OpenSSL ASN.1 time values may not round-trip their type

Added by drbrain (Eric Hodel) over 12 years ago. Updated about 12 years ago.

Status:
Closed
Target version:
ruby -v:
-
Backport:
[ruby-core:42071]

Description

Martin asked me to file this ticket.

asn1time_to_time may not preserve the type of ASN.1 time (GENERALIZED vs UTC) loaded as it always returns a ruby Time without any data tagging.

Updated by MartinBosslet (Martin Bosslet) about 12 years ago

  • Status changed from Open to Closed

I checked, it's fine. I was confused, the type information itself is present in the subclass of ASN1Data holding the actual time value.

Actions

Also available in: Atom PDF

Like0
Like0