Correct a copy and paste typo

pull/66/head
Richard Körber 2018-04-17 22:10:22 +02:00
parent 568438a1f3
commit 677fce8f5f
No known key found for this signature in database
GPG Key ID: AAB9FD19C78AA3E0
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ public class CertificateUtilsTest {
* creates a good certificate.
*/
@Test
public void testCreateTlsSni02Certificate() throws IOException, CertificateParsingException {
public void testCreateTlsAlpn01Certificate() throws IOException, CertificateParsingException {
KeyPair keypair = KeyPairUtils.createKeyPair(2048);
String subject = "example.com";
byte[] acmeValidationV1 = AcmeUtils.sha256hash("rSoI9JpyvFi-ltdnBW0W1DjKstzG7cHixjzcOjwzAEQ");

View File

@ -10,7 +10,7 @@ This challenge is not part of the ACME specifications. It is specified [in a sep
`TlsAlpn01Challenge` provides a byte array called `acmeValidationV1`:
```java
TlsSni02Challenge challenge = auth.findChallenge(TlsSni02Challenge.TYPE);
TlsAlpn01Challenge challenge = auth.findChallenge(TlsAlpn01Challenge.TYPE);
byte[] acmeValidationV1 = challenge.getAcmeValidationV1();
```