Skip to content

Commit

Permalink
cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian committed Jun 8, 2023
1 parent 677124a commit a28810d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ public static CertificateRequest read(InputStream input) throws IOException {
int nameLength = (input.read() & 0xFF) << 8 | (input.read() & 0xFF);
byte[] encoding = new byte[nameLength];
input.read(encoding, 0, nameLength);
// TODO:
certificateAuthorities.add(encoding);
count += nameLength + 2;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import com.aliyun.gmsse.Record;
import com.aliyun.gmsse.SSLConfiguration;
import com.aliyun.gmsse.SecurityParameters;
import com.aliyun.gmsse.Util;
import com.aliyun.gmsse.GMSSLSession.ID;
import com.aliyun.gmsse.handshake.ClientHello;
import com.aliyun.gmsse.record.Handshake;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import javax.net.ssl.X509KeyManager;
import javax.security.auth.x500.X500Principal;

import org.bouncycastle.asn1.x500.X500Name;
import org.bouncycastle.crypto.engines.SM4Engine;
import org.bouncycastle.crypto.params.KeyParameter;
import org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey;
Expand All @@ -35,7 +34,6 @@
import com.aliyun.gmsse.Record;
import com.aliyun.gmsse.SSLConfiguration;
import com.aliyun.gmsse.SecurityParameters;
import com.aliyun.gmsse.Util;
import com.aliyun.gmsse.GMSSLSession.ID;
import com.aliyun.gmsse.handshake.ClientHello;
import com.aliyun.gmsse.record.Handshake;
Expand Down
2 changes: 0 additions & 2 deletions src/test/java/com/aliyun/gmsse/server/ClientTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.net.URI;
import java.net.URISyntaxException;
Expand All @@ -15,7 +14,6 @@
import java.security.NoSuchAlgorithmException;
import java.security.UnrecoverableKeyException;
import java.security.cert.CertificateException;
import java.security.cert.CertificateFactory;
import java.security.cert.X509Certificate;
import java.security.spec.InvalidKeySpecException;

Expand Down

0 comments on commit a28810d

Please sign in to comment.