any1 / neatvnc

A liberally licensed VNC server library with a clean interface
ISC License
126 stars 31 forks source link

Auth API inconsistency when tls != nettle #123

Closed pH5 closed 3 weeks ago

pH5 commented 1 month ago

When building with tls but without nettle, nvnc_has_auth() returns true because ENABLE_TLS is defined, but nvnc_enable_auth() fails because HAVE_CRYPTO is not defined.

any1 commented 3 weeks ago

Should be fixed now. I'm not sure though why you would want to disable nettle as it is already a dependency of gnutls.