cloudflare / boringtun

Userspace WireGuard® Implementation in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jni: create_new_tunnel requires psk

an-p opened this issue · comments

commented

Calling create_new_tunnel without a preshared key is no longer possible since #215.

Passing null as argument does not work because env.get_string_utf_chars does not allow null, and empty strings are not allowed because of a check in ffi::new_tunnel.