Skip to content

Commit 3480849

Browse files
committed
deleted unnecessary code.
1 parent 88c3a55 commit 3480849

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import java.io.ByteArrayInputStream;
44
import java.io.ByteArrayOutputStream;
5-
import java.io.FileOutputStream;
65
import java.io.IOException;
76
import java.math.BigInteger;
87
import java.security.Key;
@@ -2153,9 +2152,6 @@ private void testStoreType(String storeType, boolean isMacExpected)
21532152

21542153
inStore.load(new ByteArrayInputStream(bOut.toByteArray()), passwd);
21552154

2156-
FileOutputStream fOut = new FileOutputStream("/tmp/" + storeType + ".p12");
2157-
fOut.write(bOut.toByteArray());
2158-
fOut.close();
21592155
Key k = inStore.getKey("key", null);
21602156

21612157
Pfx pfx = Pfx.getInstance(bOut.toByteArray());

0 commit comments

Comments
 (0)