Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
LSH
lsh
Commits
58945275
Commit
58945275
authored
Oct 12, 2009
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed conditioning on HAVE_LIBGMP.
Rev: nettle/sexp-format.c:1.2
parent
a77a9215
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
nettle/sexp-format.c
nettle/sexp-format.c
+1
-8
No files found.
nettle/sexp-format.c
View file @
58945275
...
...
@@ -36,11 +36,8 @@
#include "sexp.h"
#include "buffer.h"
#if HAVE_LIBGMP
# include "bignum.h"
#endif
#include "bignum.h"
/* Code copied from sexp-conv.c: sexp_put_length */
static
unsigned
format_prefix
(
struct
nettle_buffer
*
buffer
,
unsigned
length
)
...
...
@@ -293,7 +290,6 @@ sexp_vformat(struct nettle_buffer *buffer, const char *format, va_list args)
}
case
'b'
:
{
#if HAVE_LIBGMP
const
MP_INT
*
n
=
va_arg
(
args
,
const
MP_INT
*
);
unsigned
length
;
unsigned
prefix_length
;
...
...
@@ -316,9 +312,6 @@ sexp_vformat(struct nettle_buffer *buffer, const char *format, va_list args)
done
+=
length
;
#else
/* ! HAVE_LIBGMP */
abort
();
#endif
/* ! HAVE_LIBGMP */
break
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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