Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dmitry Baryshkov
nettle
Commits
ec593a78
Commit
ec593a78
authored
Jun 25, 2014
by
Niels Möller
Browse files
Deleted HAVE_LIBGMP conditionals.
parent
4fd3dd3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
ec593a78
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
...
...
der-iterator.c
View file @
ec593a78
...
...
@@ -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 */
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment