Bug #5886

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

Added by Eric Hodel over 3 years ago. Updated over 3 years ago.

[ruby-core:42071]
Status:Closed
Priority:Normal
Assignee:Martin Bosslet
ruby -v:- Backport:

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.

History

#1 Updated by Martin Bosslet over 3 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.

Also available in: Atom PDF