classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] PATCH: fix PrivateKeyUsagePeriod parsing


From: Michael Koch
Subject: Re: [cp-patches] PATCH: fix PrivateKeyUsagePeriod parsing
Date: Mon, 18 Apr 2005 05:29:55 +0200
User-agent: mutt-ng 1.5.9-r265i (Debian)

On Sun, Apr 17, 2005 at 07:51:51PM -0700, Casey Marshall wrote:
> Hi list;
> 
> Tom Fitzsimmons pointed out a flaw in the X.509 parsing code that
> handles the 'privateKeyUsagePeriod' extension, which is encoded as a
> pair of two optional dates, but aren't tagged as such in ASN.1. So the
> existing code naively tries to cast the result as a Date, which fails
> because the type of the value field can't be determined at that point.
> 
> Ok to commit?

Sure, you are the expert for this.


Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]