Skip to content

Commit 6dbdfb4

Browse files
committed
Fix parameter name
1 parent 760c99c commit 6dbdfb4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

prov/src/test/java/org/bouncycastle/jce/provider/test/TestUtils.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,10 @@ public static X509Certificate generateIntermediateCert(PublicKey intKey, X500Nam
205205
caKey, subject, "SHA256withRSA", extGen.generate(), intKey);
206206
}
207207

208-
public static X509Certificate generateEndEntityCert(PublicKey intKey, PrivateKey caKey, X509Certificate caCert)
208+
public static X509Certificate generateEndEntityCert(PublicKey entityKey, PrivateKey caKey, X509Certificate caCert)
209209
throws Exception
210210
{
211-
return generateEndEntityCert(
212-
intKey, new X500Name("CN=Test End Certificate"), caKey, caCert);
211+
return generateEndEntityCert(entityKey, new X500Name("CN=Test End Certificate"), caKey, caCert);
213212
}
214213

215214
public static X509Certificate generateEndEntityCert(PublicKey entityKey, X500Name subject, PrivateKey caKey, X509Certificate caCert)

0 commit comments

Comments
 (0)