Skip to content

Commit fab003c

Browse files
author
vprasanna
committed
Added the CLI for bash
1 parent 194ea8c commit fab003c

File tree

7 files changed

+21
-12
lines changed

7 files changed

+21
-12
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ apply plugin: 'java-library'
1111
apply plugin: 'java'
1212
apply plugin: 'eclipse'
1313

14-
version = '1.0.9'
14+
version = '1.0.10'
1515
sourceCompatibility = 1.8
1616
targetCompatibility = 1.8
1717
// In this section you declare where to find the dependencies of your project
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#Thu Apr 19 06:54:28 EDT 2018
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
34
zipStoreBase=GRADLE_USER_HOME
45
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.3.1-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.3.1-all.zip

javassltest.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
3+
CLI_ARGS=
4+
while [ "$1" != "" ]; do
5+
CLI_ARGS="$CLI_ARGS ${1}" && shift;
6+
done;
7+
#echo "CLI_ARGS = $CLI_ARGS"
8+
java -jar ./jdeploy-bundle/*.jar $CLI_ARGS
-204 KB
Binary file not shown.
-205 KB
Binary file not shown.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"main": "index.js",
88
"preferGlobal": true,
99
"repository": "",
10-
"version": "1.0.9",
10+
"version": "1.0.10",
1111
"keywords": [
1212
"java",
1313
"ssl",
@@ -17,7 +17,7 @@
1717
"connection"
1818
],
1919
"jdeploy": {
20-
"jar": "build/libs/java-ssl-test-1.0.9.jar"
20+
"jar": "build/libs/java-ssl-test-1.0.10.jar"
2121
},
2222
"dependencies": {
2323
"shelljs": "^0.7.5"

src/main/java/io/vpv/net/SSLTest.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -381,14 +381,14 @@ private static void performBasicConnectivityTest(int connectTimeout, int readTim
381381
try {
382382
socket = testEngine.createSSLSocket(address, host, port, connectTimeout, readTimeout, sf);
383383
socket.startHandshake();
384-
385-
ColorPrintUtil.print("Given this client's capabilities ("
386-
+ supportedProtocols
387-
+ "), the server prefers protocol=");
388-
ColorPrintUtil.print(socket.getSession().getProtocol());
389-
ColorPrintUtil.print(", cipher=");
390-
ColorPrintUtil.print(socket.getSession().getCipherSuite());
391-
System.out.println();
384+
//
385+
// ColorPrintUtil.print("Given this client's capabilities ("
386+
// + supportedProtocols
387+
// + "), the server prefers protocol=");
388+
// ColorPrintUtil.print(socket.getSession().getProtocol());
389+
// ColorPrintUtil.print(", cipher=");
390+
// ColorPrintUtil.print(socket.getSession().getCipherSuite());
391+
// System.out.println();
392392
if (showCerts) {
393393
showCertificateDetails(socket);
394394
}

0 commit comments

Comments
 (0)