]> git.ipfire.org Git - thirdparty/libvirt.git/commit
security: fix DH key generation when FIPS mode is on
authorGiuseppe Scrivano <gscrivan@redhat.com>
Thu, 4 Sep 2014 08:05:36 +0000 (10:05 +0200)
committerGiuseppe Scrivano <gscrivan@redhat.com>
Thu, 4 Sep 2014 09:56:36 +0000 (11:56 +0200)
commitab22096710edb505d38d34fb3575427b0ea3b151
treec3c9396e0045faf78925a4aeae894d2c94aaf95f
parent5bb47e0ca7a70f25da67a8a19e99f5d732d7cdf8
security: fix DH key generation when FIPS mode is on

When FIPS mode is on, gnutls_dh_params_generate2 will fail if 1024 is
specified as the prime's number of bits, a bigger value works in both
cases.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
src/rpc/virnettlscontext.c