]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
Add setCookie JNI method to LibOpenConnect.java
authorAntonino Orlando <orlando.antonino@gmail.com>
Thu, 3 Jun 2021 21:26:11 +0000 (23:26 +0200)
committerDaniel Lenski <dlenski@gmail.com>
Fri, 4 Jun 2021 00:14:31 +0000 (17:14 -0700)
DL: This was added to jni.c in 5b3d3a86, but was inadvertently omitted from
the .java side.

Signed-off-by: Antonino Orlando <orlando.antonino@gmail.com>
Signed-off-by: Daniel Lenski <dlenski@gmail.com>
java/src/org/infradead/libopenconnect/LibOpenConnect.java

index 4e283f482501004ed1817a926cb0404094d7f7d6..3a2189acea1760600b028e803962032ffb0ac918 100644 (file)
@@ -153,6 +153,7 @@ public abstract class LibOpenConnect {
        public synchronized native int setProtocol(String protocol);
        public synchronized native int disableDTLS();
        public synchronized native int disableIPv6();
+       public synchronized native void setCookie(String cookie);
 
        /* connection info */