Re: Assertion when using SEC_ASN1EncodeItem with subtemplate

2010-07-30 Thread Wan-Teh Chang
On Fri, Jul 30, 2010 at 11:29 AM, Nelson B Bolyard wrote: > > 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. I ran Hanno's test program in a debugger. I saw the problem that Hanno reported, that the ASN.1 encoder ca

Re: Assertion when using SEC_ASN1EncodeItem with subtemplate

2010-07-30 Thread Nelson B Bolyard
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

Re: cmsutil: deprecated class usage

2010-07-30 Thread Robert Relyea
On 07/29/2010 10:33 PM, Alexander V Vershilov wrote: > Thanks. > > Thu, Jul 29, 2010 at 06:13:56PM -0700, Kyle Hamilton wrote > >> If you have something that looks like '[2^i' in your source file, it >> means that there's probably an 'esc' character in there as well, and it >> looks like someon

Re: cmsutil: deprecated class usage

2010-07-30 Thread Nelson B Bolyard
On 2010-07-29 18:35 PDT, Alexander V Vershilov wrote: > Hello. > > I'm trying to build package pki-utils-1.3.1. And it fails on building > cmsutils: > pki-util-1.3.1/src/com/netscape/cmsutil/crypto/CryptoUtil.java > at string: > org.mozilla.jss.crypto.KeyPairGeneratorSp[2^i.Usage[