Bug 438876: signtool is still using static libraries, patch part 2.
authornelson%bolyard.com
Mon, 30 Jun 2008 21:26:58 +0000
changeset 8657 0c0536ccb18391a362b1ce143f81317e59608d8e
parent 8656 8900a7c05a7c9d08841de346d543b25fc519ef09
child 8658 b7f59eccd0ef40e283c64e9bb21d6609b0690c1b
push idunknown
push userunknown
push dateunknown
bugs438876
Bug 438876: signtool is still using static libraries, patch part 2. r=rrelyea Modified Files: certgen.c manifest.mn
security/nss/cmd/signtool/certgen.c
security/nss/cmd/signtool/manifest.mn
--- a/security/nss/cmd/signtool/certgen.c
+++ b/security/nss/cmd/signtool/certgen.c
@@ -468,17 +468,17 @@ sign_cert(CERTCertificate *cert, SECKEYP
 	errorCount++;
 	exit (ERRX);
     }
 
     der2.len = 0;
     der2.data = NULL;
 
     dummy = SEC_ASN1EncodeItem
-        (cert->arena, &der2, cert, CERT_CertificateTemplate);
+        (cert->arena, &der2, cert, SEC_ASN1_GET(CERT_CertificateTemplate));
 
     if (rv != SECSuccess) {
 	PR_fprintf(errorFD, "%s: error encoding cert\n", PROGRAM_NAME);
 	errorCount++;
 	exit (ERRX);
     }
 
     result2 = (SECItem * ) PORT_ArenaZAlloc (cert->arena, sizeof (SECItem));
--- a/security/nss/cmd/signtool/manifest.mn
+++ b/security/nss/cmd/signtool/manifest.mn
@@ -49,11 +49,9 @@ CSRCS = signtool.c		\
 		verify.c	\
 		zip.c		\
 	$(NULL)
 
 PROGRAM =  signtool
 
 REQUIRES = seccmd
 
-USE_STATIC_LIBS = 1
-
 EXTRA_LIBS = $(JAR_LIBS)