Bug #5886

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

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

Assignee:Martin Bosslet
ruby -v:- Backport:


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.


#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