Skip to content

Commit

Permalink
remove bouncycastle dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jpdahlke committed Sep 15, 2023
1 parent 72e1a65 commit 6d4f2b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
12 changes: 0 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
<EMISSARY_VERSION>${project.version}</EMISSARY_VERSION>
<argLine />
<checkstyleFormatter>${project.basedir}/contrib/checkstyle.xml</checkstyleFormatter>
<dep.bcprov-jdk15on.version>1.67</dep.bcprov-jdk15on.version>
<dep.commons-cli.version>1.5.0</dep.commons-cli.version>
<dep.commons-codec.version>1.15</dep.commons-codec.version>
<dep.commons-collections.version>4.4</dep.commons-collections.version>
Expand Down Expand Up @@ -318,12 +317,6 @@
<version>${dep.junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>${dep.bcprov-jdk15on.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
Expand Down Expand Up @@ -551,11 +544,6 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.test-framework.providers</groupId>
<artifactId>jersey-test-framework-provider-jetty</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
package emissary.core.channels;

import org.apache.commons.io.IOUtils;
import org.bouncycastle.util.Arrays;
import org.junit.jupiter.api.Test;

import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.SeekableByteChannel;
import java.util.Arrays;

import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;

class FillChannelFactoryTest {
@Test
void testCreate() throws IOException {
void testCreate() {
assertThrows(IllegalArgumentException.class, () -> FillChannelFactory.create(-1, (byte) 0));
}

Expand Down

0 comments on commit 6d4f2b2

Please sign in to comment.