diff options
author | Niels Möller <nisse@lysator.liu.se> | 2004-02-07 18:13:44 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2004-02-07 18:13:44 +0100 |
commit | ae15d22ab59c8d01b7934d49d7cd40c7f76ca86a (patch) | |
tree | e45dc068e2698592ca2ed53911e70486774b51d7 /pgp.h | |
parent | 667b066290b39c3670a41a83d0b0ed08d0cdef71 (diff) | |
download | nettle-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |