Add sanity checks when generating new RSA keys.
authorGuus Sliepen <guus@sliepen.org>
Tue, 13 May 2014 18:29:09 +0000 (20:29 +0200)
committerGuus Sliepen <guus@sliepen.org>
Tue, 13 May 2014 18:33:20 +0000 (20:33 +0200)
commit35437a50e2a46861742b6fb8e49d065aa52a04dc
tree8700b8b033aedcbb846e7102355768d1f01840be
parent66f325f4674e70d83744626f3b8dda6760f8d613
Add sanity checks when generating new RSA keys.

The key size should be a multiple of 8 bits, and it should be between 1024 and
8192 bits.
src/tincctl.c