Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nettle
nettle
Commits
3e82a29d
Commit
3e82a29d
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
d6e34039
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
sexp-format.c
sexp-format.c
+1
-8
No files found.
sexp-format.c
View file @
3e82a29d
...
...
@@ -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