diff options
author | Niels Möller <nisse@lysator.liu.se> | 2002-12-30 22:09:31 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2002-12-30 22:09:31 +0100 |
commit | 88486427349d3aa4605b4ae3398dd0fb866d0676 (patch) | |
tree | 6e1d28bc7287f20480af45741bae9755bedb677b /rsa-encrypt.c | |
parent | 394839ae71180f1f1f5641ca0e3ba566e9812ffb (diff) | |
download | nettle-88486427349d3aa4605b4ae3398dd0fb866d0676.tar.gz |
* rsa-decrypt.c: Make compilation conditional on WITH_PUBLIC_KEY.
* rsa-encrypt.c: Likewise.
Rev: src/nettle/rsa-decrypt.c:1.3
Rev: src/nettle/rsa-encrypt.c:1.4
Diffstat (limited to 'rsa-encrypt.c')
-rw-r--r-- | rsa-encrypt.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rsa-encrypt.c b/rsa-encrypt.c index ef2e72f3..66a08c0f 100644 --- a/rsa-encrypt.c +++ b/rsa-encrypt.c @@ -23,6 +23,12 @@ * MA 02111-1307, USA. */ +#if HAVE_CONFIG_H +#include "config.h" +#endif + +#if WITH_PUBLIC_KEY + #include "rsa.h" #include "bignum.h" @@ -75,3 +81,5 @@ rsa_encrypt(const struct rsa_public_key *key, return 1; } + +#endif /* WITH_PUBLIC_KEY */ |