Skip to content

Commit

Permalink
Fix bridge certificate generation (fix #710)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniele Ricci <[email protected]>
  • Loading branch information
daniele-athome committed May 7, 2016
1 parent 3a25161 commit 76ec429
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/org/kontalk/crypto/X509Bridge.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Locale;

import org.spongycastle.asn1.misc.MiscObjectIdentifiers;
import org.spongycastle.asn1.misc.NetscapeCertType;
Expand Down Expand Up @@ -301,6 +302,7 @@ else if (pubKeyAlgorithm.equals("RSA")) {
BigInteger.ONE,
startDate,
endDate,
Locale.US,
subject,
/*
* Sets the public-key to embed in this certificate.
Expand Down

0 comments on commit 76ec429

Please sign in to comment.