directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dran...@apache.org
Subject directory-kerberos git commit: Removed BC
Date Sun, 25 Jan 2015 05:30:50 GMT
Repository: directory-kerberos
Updated Branches:
  refs/heads/cleanpki 99f8a3ce5 -> 38f7eb73d


Removed BC


Project: http://git-wip-us.apache.org/repos/asf/directory-kerberos/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerberos/commit/38f7eb73
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerberos/tree/38f7eb73
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerberos/diff/38f7eb73

Branch: refs/heads/cleanpki
Commit: 38f7eb73d17d8a2091c5bff5d39b2bf9d90918ec
Parents: 99f8a3c
Author: Drankye <drankye@gmail.com>
Authored: Sun Jan 25 13:30:33 2015 +0800
Committer: Drankye <drankye@gmail.com>
Committed: Sun Jan 25 13:30:33 2015 +0800

----------------------------------------------------------------------
 3rdparty/not-yet-commons-ssl/pom.xml                  |  5 -----
 .../java/org/apache/commons/ssl/TestKeyMaterial.java  | 14 +++++---------
 2 files changed, 5 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerberos/blob/38f7eb73/3rdparty/not-yet-commons-ssl/pom.xml
----------------------------------------------------------------------
diff --git a/3rdparty/not-yet-commons-ssl/pom.xml b/3rdparty/not-yet-commons-ssl/pom.xml
index ae3bf0f..f214455 100644
--- a/3rdparty/not-yet-commons-ssl/pom.xml
+++ b/3rdparty/not-yet-commons-ssl/pom.xml
@@ -68,11 +68,6 @@
       <version>${project.version}</version>
     </dependency>
     <dependency>
-      <groupId>org.bouncycastle</groupId>
-      <artifactId>bcprov-ext-jdk15on</artifactId>
-      <version>1.51</version>
-    </dependency>
-    <dependency>
       <groupId>log4j</groupId>
       <artifactId>log4j</artifactId>
       <version>1.2.13</version>

http://git-wip-us.apache.org/repos/asf/directory-kerberos/blob/38f7eb73/3rdparty/not-yet-commons-ssl/src/test/java/org/apache/commons/ssl/TestKeyMaterial.java
----------------------------------------------------------------------
diff --git a/3rdparty/not-yet-commons-ssl/src/test/java/org/apache/commons/ssl/TestKeyMaterial.java
b/3rdparty/not-yet-commons-ssl/src/test/java/org/apache/commons/ssl/TestKeyMaterial.java
index 01932ec..04bcfe7 100644
--- a/3rdparty/not-yet-commons-ssl/src/test/java/org/apache/commons/ssl/TestKeyMaterial.java
+++ b/3rdparty/not-yet-commons-ssl/src/test/java/org/apache/commons/ssl/TestKeyMaterial.java
@@ -1,31 +1,27 @@
 package org.apache.commons.ssl;
 
-import static org.apache.commons.ssl.JUnitConfig.TEST_HOME;
-import org.bouncycastle.jce.provider.BouncyCastleProvider;
-import static org.junit.Assert.*;
 import org.junit.Test;
 
+import javax.net.ssl.SSLSocket;
 import java.io.File;
 import java.io.InputStream;
 import java.io.OutputStream;
 import java.net.ServerSocket;
 import java.net.Socket;
-import java.security.Security;
 import java.security.cert.X509Certificate;
 import java.util.Arrays;
 import java.util.Date;
 import java.util.List;
 import java.util.Locale;
-import javax.net.ssl.SSLSocket;
+
+import static org.apache.commons.ssl.JUnitConfig.TEST_HOME;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
 
 public class TestKeyMaterial {
     public static final char[] PASSWORD1 = "changeit".toCharArray();
     public static final char[] PASSWORD2 = "itchange".toCharArray();
 
-    static {
-        Security.addProvider(new BouncyCastleProvider());
-    }
-
     @Test
     public void testKeystores() throws Exception {
         String samplesDir = TEST_HOME + "samples/keystores";


Mime
View raw message