Issue #5886 has been updated by Martin Bosslet. 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. ---------------------------------------- Bug #5886: OpenSSL ASN.1 time values may not round-trip their type https://bugs.ruby-lang.org/issues/5886 Author: Eric Hodel Status: Closed Priority: Normal Assignee: Martin Bosslet Category: ext Target version: 2.0.0 ruby -v: - 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. -- http://bugs.ruby-lang.org/