mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
tls: increase Diffie-Hellman group size to 2048 bits
1024 bits is already the minimum accepted size of current TLS libraries. 2048 is recommended for servers, see https://weakdh.org/ Signed-off-by: Bjoern Jacke <bj@sernet.de> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Sep 3 03:47:48 CEST 2015 on sn-devel-104
This commit is contained in:
parent
b49b1bd8dc
commit
22a37c453d
@ -31,7 +31,7 @@
|
||||
#if ENABLE_GNUTLS
|
||||
#include <gnutls/gnutls.h>
|
||||
|
||||
#define DH_BITS 1024
|
||||
#define DH_BITS 2048
|
||||
|
||||
#if defined(HAVE_GNUTLS_DATUM) && !defined(HAVE_GNUTLS_DATUM_T)
|
||||
typedef gnutls_datum gnutls_datum_t;
|
||||
|
@ -28,7 +28,7 @@
|
||||
#if ENABLE_GNUTLS
|
||||
#include <gnutls/gnutls.h>
|
||||
|
||||
#define DH_BITS 1024
|
||||
#define DH_BITS 2048
|
||||
|
||||
#if defined(HAVE_GNUTLS_DATUM) && !defined(HAVE_GNUTLS_DATUM_T)
|
||||
typedef gnutls_datum gnutls_datum_t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user