summaryrefslogtreecommitdiff
path: root/pgp.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2004-02-07 18:13:44 +0100
committerNiels Möller <nisse@lysator.liu.se>2004-02-07 18:13:44 +0100
commitae15d22ab59c8d01b7934d49d7cd40c7f76ca86a (patch)
treee45dc068e2698592ca2ed53911e70486774b51d7 /pgp.h
parent667b066290b39c3670a41a83d0b0ed08d0cdef71 (diff)
downloadnettle-ae15d22ab59c8d01b7934d49d7cd40c7f76ca86a.tar.gz
* pgp-encode.c [!HAVE_LIBGMP]: Kludge around the pgp.h's
dependency on gmp.h. (pgp_put_mpi): Condition on HAVE_LIBGMP. * pgp.h: Don't include bignum.h, to make it possible to compile the non-bignum parts of pgp-encode.c without bignum support. Needs to be fixed properly before the pgp interface is advertised. Rev: src/nettle/pgp-encode.c:1.8 Rev: src/nettle/pgp.h:1.6
Diffstat (limited to 'pgp.h')
-rw-r--r--pgp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pgp.h b/pgp.h
index b9103ebd..2bd9a30d 100644
--- a/pgp.h
+++ b/pgp.h
@@ -28,7 +28,9 @@
#include <time.h>
-#include "bignum.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. */
/* Name mangling */
#define pgp_put_uint32 nettle_pgp_put_uint32