apple / swift-asn1

An implementation of ASN.1 for Swift
https://swiftpackageindex.com/apple/swift-asn1/main/documentation/swiftasn1
Apache License 2.0
137 stars 27 forks source link

Add `rawFractionalSeconds` property to `GeneralizedTime` #53

Closed clintonpi closed 4 months ago

clintonpi commented 5 months ago

Motivation:

There is a possible overflow when computing a Double value for fractionalSeconds from an ArraySlice of bytes. Hence, access to this original ArraySlice is necessary.

Modifications:

Result:

Lukasa commented 5 months ago

@swift-server-bot add to allowlist