summaryrefslogtreecommitdiff
path: root/pgp.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2007-05-14 16:46:09 +0200
committerNiels Möller <nisse@lysator.liu.se>2007-05-14 16:46:09 +0200
commit0f92b40a005272e52deb3548d7ed430f49684ab1 (patch)
tree4fdcd68d78b77bf6e725ed8ce46ce9308623c508 /pgp.h
parent9ce9c53e9be2a815192a54a17ce191c5f3539883 (diff)
downloadnettle-0f92b40a005272e52deb3548d7ed430f49684ab1.tar.gz
* pgp.h: Include bignum.h, don't pretend to work without bignums.
* pgp-encode.c (pgp_put_mpi, pgp_put_public_rsa_key) (pgp_put_rsa_sha1_signature): Define unconditionally. Removed the checking of HAVE_LIBGMP and WITH_PUBLIC_KEY. Rev: nettle/pgp-encode.c:1.2 Rev: nettle/pgp.h:1.2
Diffstat (limited to 'pgp.h')
-rw-r--r--pgp.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/pgp.h b/pgp.h
index fb3fdf5b..c2e20fe6 100644
--- a/pgp.h
+++ b/pgp.h
@@ -29,10 +29,7 @@
#include <time.h>
#include "nettle-types.h"
-
-/* FIXME: User must include bignum.h before this file, in order to get
- mpz_t defined. We don't do that here, in order to kludge through
- compilation without public key support and without gmp.h. */
+#include "bignum.h"
#ifdef __cplusplus
extern "C" {