bug 1007813 - match CreateEncodedCertificate declaration to its definition r=mmc
authorDavid Keeler <dkeeler@mozilla.com>
Thu, 08 May 2014 11:51:50 -0700
changeset 182469 7a515c1d5a21162e24b17b8d418539603597bbab
parent 182468 d823a184bfb242c5a99496f7a7a8c2bec732ce50
child 182470 7176ac3db029ec2b533736d31fe253989574b341
push id26764
push usercbook@mozilla.com
push dateMon, 12 May 2014 11:35:17 +0000
treeherdermozilla-central@a64ed5aba131 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmmc
bugs1007813
milestone32.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1007813 - match CreateEncodedCertificate declaration to its definition r=mmc
security/pkix/test/lib/pkixtestutil.h
--- a/security/pkix/test/lib/pkixtestutil.h
+++ b/security/pkix/test/lib/pkixtestutil.h
@@ -67,18 +67,19 @@ enum Version { v1 = 0, v2 = 1, v3 = 2 };
 // If issuerPrivateKey is null, then the certificate will be self-signed.
 // Parameter order is based on the order of the attributes of the certificate
 // in RFC 5280.
 //
 // The return value, if non-null, is owned by the arena in the context and
 // MUST NOT be freed.
 SECItem* CreateEncodedCertificate(PLArenaPool* arena, long version,
                                   SECOidTag signature, long serialNumber,
-                                  const char* issuerASCII, PRTime notBefore,
-                                  PRTime notAfter, const char* subjectASCII,
+                                  const SECItem* issuerNameDER,
+                                  PRTime notBefore, PRTime notAfter,
+                                  const SECItem* subjectNameDER,
                      /*optional*/ SECItem const* const* extensions,
                      /*optional*/ SECKEYPrivateKey* issuerPrivateKey,
                                   SECOidTag signatureHashAlg,
                           /*out*/ ScopedSECKEYPrivateKey& privateKey);
 
 MOZILLA_PKIX_ENUM_CLASS ExtensionCriticality { NotCritical = 0, Critical = 1 };
 
 // The return value, if non-null, is owned by the arena and MUST NOT be freed.