ssl: gnutls: bump dh bitsize to 2048
[ngircd-alex.git] / src / ngircd / conn-ssl.c
index edcc5bd567a3af074a2cf0af2f5ff6fab5978bcf..7630420dad36bfa46e2dbb0590e382055f3d7979 100644 (file)
@@ -51,7 +51,7 @@ static bool ConnSSL_LoadServerKey_openssl PARAMS(( SSL_CTX *c ));
 #include <unistd.h>
 #include <gnutls/x509.h>
 
-#define DH_BITS 1024
+#define DH_BITS 2048
 static gnutls_certificate_credentials_t x509_cred;
 static gnutls_dh_params_t dh_params;