Option to disable encryption?
nmav at gnutls.org
Sat Mar 24 01:25:08 CET 2012
On 03/23/2012 05:27 PM, Steven Hudson wrote:
> I was wondering if I can include an option to disable encryption by
> doing this:
> gnutls_priority_set_direct(session, "NONE:+COMP-ALL", NULL);
> This would allow me to use the compression option but not encryption? Or
> would this just fail to connect?
It is not that simple. You need to use the NULL cipher to disable
encryption. An example could be:
More information about the Gnutls-help