1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 01:18:00 +00:00

Move key-generation code into its own subdir.

Including mpunsafe.{h,c}, which should be an extra defence against
inadvertently using it outside the keygen library.
This commit is contained in:
Simon Tatham 2021-04-22 17:59:16 +01:00
parent 83fa43497f
commit 8f0f5b69c0
12 changed files with 11 additions and 2 deletions

View File

@ -30,9 +30,8 @@ add_library(network STATIC
be_misc.c nullplug.c errsock.c proxy.c logging.c x11disp.c)
add_library(keygen STATIC
millerrabin.c mpunsafe.c pockle.c primecandidate.c smallprimes.c
sshdssg.c sshecdsag.c sshprime.c sshrsag.c
import.c)
add_subdirectory(keygen)
add_library(agent STATIC
sshpubk.c pageant.c aqsync.c)

10
keygen/CMakeLists.txt Normal file
View File

@ -0,0 +1,10 @@
add_sources_from_current_dir(keygen
dsa.c
ecdsa.c
millerrabin.c
mpunsafe.c
pockle.c
prime.c
primecandidate.c
rsa.c
smallprimes.c)