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

_______________________________________________
Help-gnutls mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-gnutls

Reply via email to