API to get ciphersuite

David Woodhouse dwmw2 at infradead.org
Tue Oct 28 06:53:28 PDT 2014


On Tue, 2014-10-28 at 12:42 +0100, Nikos Mavrogiannopoulos wrote:
> Updated. No idea whether the java part works.

That's fairly easily tested thus:

diff --git a/java/src/com/example/LibTest.java b/java/src/com/example/LibTest.java
index 48066ba..b515e4b 100644
--- a/java/src/com/example/LibTest.java
+++ b/java/src/com/example/LibTest.java
@@ -209,7 +209,7 @@ public final class LibTest {
 			lib.setCSDWrapper("csd.sh", null, null);
 		}
 		lib.parseURL(argv[0]);
-
+		lib.setSystemTrust(false);
 		int ret = lib.obtainCookie();
 		if (ret < 0)
 			die("obtainCookie() returned error");



I also had to fix up libopenconnect.map.in and the changelog in
openconnect.h to reflect the new addition.

-- 
dwmw2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5745 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20141028/eb04a1f8/attachment.bin>


More information about the openconnect-devel mailing list