Commit ec593a78 authored by Niels Möller's avatar Niels Möller

Deleted HAVE_LIBGMP conditionals.

parent 4fd3dd3e
2014-06-25 Niels Möller <nisse@lysator.liu.se>
* der-iterator.c: Deleted HAVE_LIBGMP conditionals.
2014-06-07 Niels Möller <nisse@lysator.liu.se>
* Released nettle-3.0
......
......@@ -38,9 +38,7 @@
#include <assert.h>
#include <stdlib.h>
#if HAVE_LIBGMP
#include "bignum.h"
#endif
#include "asn1.h"
......@@ -254,7 +252,9 @@ asn1_der_get_uint32(struct asn1_der_iterator *i,
return 1;
}
#if HAVE_LIBGMP
/* NOTE: This is the only function in this file which needs bignums.
One could split this file in two, one in libnettle and one in
libhogweed. */
int
asn1_der_get_bignum(struct asn1_der_iterator *i,
mpz_t x, unsigned max_bits)
......@@ -277,4 +277,3 @@ asn1_der_get_bignum(struct asn1_der_iterator *i,
return 1;
}
#endif /* HAVE_LIBGMP */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment