backupkey: replace heimdal rsa key generation with GnuTLS
authorGarming Sam <garming@catalyst.net.nz>
Thu, 12 Feb 2015 20:54:50 +0000 (09:54 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 25 Feb 2015 00:08:12 +0000 (01:08 +0100)
commit43d3e90418b5e0ac5986e08f9483146f4f5d2357
tree8a36232d96f0dd17b4bce750da88fc0c6ab5a36c
parenta1f1db277a2c452b63b9fe2d67cabfe0df60223d
backupkey: replace heimdal rsa key generation with GnuTLS

We use GnuTLS because it can reliably generate 2048 bit keys every time.

Windows clients strictly require 2048, no more since it won't fit and no
less either. Heimdal would almost always generate a smaller key.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10980
source4/rpc_server/backupkey/dcesrv_backupkey.c