On 2010-07-29 15:14 PDT, Hanno Böck wrote:
> After digging down deeper into the code, it seems it fails somewhere here:
> http://mxr.mozilla.org/security/source/security/nss/lib/util/secasn1e.c#897
> 
> It gives state->theTemplate to the SEC_ASN1GetSubTemplate-function, while 
> state->theTemplate points to SECOID_AlgorithmIDTemplate, which is already the 
> subtemplate.
> 
> I fail to really understand the asn1 decoding code at the moment, but I find 
> it likely it's a bug in there.

I think you're right.  I filed
https://bugzilla.mozilla.org/show_bug.cgi?id=583308
with a patch to fix at least one problem.

-- 
/Nelson Bolyard
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to