Skip to content

Commit

Permalink
Release | Fix issue reported by CredScanner (#1416)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulvii committed Aug 26, 2020
1 parent b875d09 commit d1876fe
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ public class FedauthTest extends FedauthCommon {
static class TrustStore {
private File trustStoreFile;

static final String TRUST_STORE_PASSWORD = "Any_Password_<>_Not_Used_In_This_Code";

TrustStore(String certificateName) throws Exception {
trustStoreFile = File.createTempFile("myTrustStore", null, new File("."));
trustStoreFile.deleteOnExit();
Expand All @@ -52,7 +50,7 @@ static class TrustStore {
ks.setCertificateEntry(certificateName, getCertificate(certificateName));

try (FileOutputStream os = new FileOutputStream(trustStoreFile)) {
ks.store(os, TRUST_STORE_PASSWORD.toCharArray());
ks.store(os, "Any_String_<>_Not_Used_In_This_Code".toCharArray());
os.flush();
}
}
Expand Down

0 comments on commit d1876fe

Please sign in to comment.