From: Niels Möller Date: Wed, 25 Jun 2014 17:05:50 +0000 (+0200) Subject: Include bignum.h instead of gmp.h. X-Git-Tag: nettle_3.1rc1~173 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51fb8e8f87d85448baa2eb7bbd6a46188fedc0f9;p=thirdparty%2Fnettle.git Include bignum.h instead of gmp.h. --- diff --git a/ChangeLog b/ChangeLog index 1b5c4033..820f1bd5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2014-06-25 Niels Möller + * dsa.h: Include bignum.h instead of gmp.h. + * ecc-internal.h: Likewise. + * ecc.h: Likewise. + * gmp-glue.h: Likewise. + * pkcs1.h: Likewise. + * rsa.h: Likewise. + * testsuite/testutils.c (die): Use plain vfprintf, not gmp_vfprintf. (write_mpn): New function. diff --git a/dsa.h b/dsa.h index aa0a9bb8..7aa982ab 100644 --- a/dsa.h +++ b/dsa.h @@ -34,9 +34,8 @@ #ifndef NETTLE_DSA_H_INCLUDED #define NETTLE_DSA_H_INCLUDED -#include - #include "nettle-types.h" +#include "bignum.h" #ifdef __cplusplus extern "C" { diff --git a/ecc-internal.h b/ecc-internal.h index a294e6cc..3d284bd6 100644 --- a/ecc-internal.h +++ b/ecc-internal.h @@ -34,9 +34,8 @@ #ifndef NETTLE_ECC_INTERNAL_H_INCLUDED #define NETTLE_ECC_INTERNAL_H_INCLUDED -#include - #include "nettle-types.h" +#include "bignum.h" #include "ecc-curve.h" #include "gmp-glue.h" diff --git a/ecc.h b/ecc.h index 0097c5f1..7293186b 100644 --- a/ecc.h +++ b/ecc.h @@ -34,9 +34,8 @@ #ifndef NETTLE_ECC_H_INCLUDED #define NETTLE_ECC_H_INCLUDED -#include - #include "nettle-types.h" +#include "bignum.h" #ifdef __cplusplus extern "C" { diff --git a/gmp-glue.h b/gmp-glue.h index f4144a92..69663de6 100644 --- a/gmp-glue.h +++ b/gmp-glue.h @@ -33,9 +33,7 @@ #ifndef NETTLE_GMP_GLUE_H_INCLUDED #define NETTLE_GMP_GLUE_H_INCLUDED -#include - -#include "nettle-stdint.h" +#include "bignum.h" #ifdef mpz_limbs_read #define GMP_HAVE_mpz_limbs_read 1 diff --git a/pkcs1.h b/pkcs1.h index b766eb70..70aa21f1 100644 --- a/pkcs1.h +++ b/pkcs1.h @@ -34,8 +34,8 @@ #ifndef NETTLE_PKCS1_H_INCLUDED #define NETTLE_PKCS1_H_INCLUDED -#include #include "nettle-types.h" +#include "bignum.h" #ifdef __cplusplus extern "C" { diff --git a/rsa.h b/rsa.h index c0398627..44d4af94 100644 --- a/rsa.h +++ b/rsa.h @@ -34,8 +34,8 @@ #ifndef NETTLE_RSA_H_INCLUDED #define NETTLE_RSA_H_INCLUDED -#include #include "nettle-types.h" +#include "bignum.h" #include "md5.h" #include "sha1.h"