Option to disable encryption?
Nikos Mavrogiannopoulos
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:
"NONE:+NULL:+SIGN-ALL:+COMP-NULL:+MAC-ALL:+VERS-TLS-ALL:+KX-ALL"
regards,
Nikos
More information about the Gnutls-help
mailing list