diff options
author | Niels Möller <nisse@lysator.liu.se> | 2002-10-01 15:46:38 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2002-10-01 15:46:38 +0200 |
commit | 38f04a786b0885e1d86705793555c3839f88b406 (patch) | |
tree | 3e999aaa6cae0cd71f1b0e045aaa9f7e84e37812 /rsa-keygen.c | |
parent | 5aa8abd0cc80d1ee48561833efb4201ab0fe4ff5 (diff) | |
download | nettle-38f04a786b0885e1d86705793555c3839f88b406.tar.gz |
New define WITH_PUBLIC_KEY, and new configure flag
--disable-public-key. Updated rsa-files to check for that, rather
than for HAVE_LIBGMP.
Rev: src/nettle/rsa-keygen.c:1.3
Rev: src/nettle/rsa.c:1.8
Rev: src/nettle/rsa2sexp.c:1.2
Rev: src/nettle/rsa_md5.c:1.5
Rev: src/nettle/rsa_sha1.c:1.5
Rev: src/nettle/sexp2rsa.c:1.3
Rev: src/nettle/testsuite/rsa-keygen-test.c:1.4
Rev: src/nettle/testsuite/rsa-test.c:1.5
Rev: src/nettle/testsuite/rsa2sexp-test.c:1.2
Rev: src/nettle/testsuite/sexp2rsa-test.c:1.2
Rev: src/nettle/testsuite/testutils.c:1.13
Rev: src/nettle/testsuite/testutils.h:1.11
Diffstat (limited to 'rsa-keygen.c')
-rw-r--r-- | rsa-keygen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rsa-keygen.c b/rsa-keygen.c index 4305c0a8..a6434223 100644 --- a/rsa-keygen.c +++ b/rsa-keygen.c @@ -27,7 +27,7 @@ #include "config.h" #endif -#if HAVE_LIBGMP +#if WITH_PUBLIC_KEY #include "rsa.h" #include "bignum.h" @@ -350,4 +350,4 @@ rsa_generate_keypair(struct rsa_public_key *pub, return 1; } -#endif /* HAVE_LIBGMP */ +#endif /* WITH_PUBLIC_KEY */ |