If the gnutls USE flag is enabled, then net-libs/gnutls should be required and used. CONFIG_TLS=gnutls If neither openssl or gnutls are USE-ed, then it should default to internal CONFIG_TLS=internal Reproducible: Always
Created attachment 107864 [details, diff] Add support for gnutls and internal I think this is correct. I'm a bit concerned about testing; It's hard to test all the functionality, so I haven't.
I've tested wpa_supplicant using ssl, gnutls and internal and it works. I'm surprised that it compiled for you as it needs a patch to compile against gnutls-1.6.1 We also depend on dev-libs/libtommath if neither ssl or gnutls are used. In portage now, thanks.