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?