X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fssli_gnutls.c;h=dfe2f2eeb47628fde849950c9d1608ce54b2a0c0;hb=5be6e1c86491889ca6967c85147cd537bfe65945;hp=a50d48c3edf9ef69441ced9d4091a5984673deaa;hpb=1bab3b2b671edd8ada2c42ba662782ce81ca3215;p=umurmur.git diff --git a/src/ssli_gnutls.c b/src/ssli_gnutls.c index a50d48c..dfe2f2e 100644 --- a/src/ssli_gnutls.c +++ b/src/ssli_gnutls.c @@ -2,10 +2,12 @@ #include "conf.h" #include "log.h" +#include + static gnutls_dh_params_t dhParameters; static gnutls_certificate_credentials_t certificate; -static const char * ciphers = "NONE:+CTYPE-X.509:+DHE-RSA:+RSA:+AES-256-CBC:+AES-128-CBC:+SHA256:+SHA1:+VERS-TLS-ALL:+COMP-ALL:+SIGN-DSA-SHA256:+SIGN-DSA-SHA1"; +static const char * ciphers = "NORMAL"; static gnutls_priority_t cipherCache; void initializeCertificate() @@ -90,7 +92,7 @@ int SSLi_nonblockaccept( SSL_handle_t *session, bool_t * isSSLReady ) } while(error < GNUTLS_E_SUCCESS && !gnutls_error_is_fatal(error)); if ( error < GNUTLS_E_SUCCESS ) { - Log_fatal("TLS handshake failed with error %i (%s).", error, gnutls_strerror(error)); + Log_warn("TLS handshake failed with error %i (%s).", error, gnutls_strerror(error)); } if(isSSLReady)