Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jean-Baptiste Kempf
libaacs
Commits
b3d84b9f
Commit
b3d84b9f
authored
Jan 30, 2015
by
npzacs
Browse files
Fix "mpi_is_neg redefined" warning with gcrypt 1.6.1
parent
2742c55c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libaacs/ec.c
View file @
b3d84b9f
...
...
@@ -22,7 +22,9 @@
#define mpi_alloc_like(m) gcry_mpi_new(0)
#define mpi_alloc_set_ui(u) gcry_mpi_set_ui(gcry_mpi_new(0), u)
#define mpi_free(m) gcry_mpi_release(m)
#ifndef mpi_is_neg
#define mpi_is_neg(m) (mpi_cmp_ui(m, 0) < 0)
#endif
#define DIM(t) (sizeof(t)/sizeof(t[0]))
/************************************ mpi.h ***********************************/
...
...
Write
Preview
Supports
Markdown
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