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
Wim Lewis
nettle
Commits
1fe332ad
Commit
1fe332ad
authored
Nov 28, 2018
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update configure check to require GMP-6.0.0 or later.
parent
3170f3b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
ChangeLog
ChangeLog
+3
-0
configure.ac
configure.ac
+2
-2
No files found.
ChangeLog
View file @
1fe332ad
2018-11-28 Niels Möller <nisse@lysator.liu.se>
* configure.ac: Update GMP check. Check for the function
mpn_sec_div_r, available since GMP-6.0.0.
* testsuite/rsa-encrypt-test.c (test_main): Fix allocation of
decrypted storage. Update test of rsa_decrypt, to allow clobbering
of all of the passed in message area.
...
...
configure.ac
View file @
1fe332ad
...
...
@@ -236,9 +236,9 @@ fi
# Checks for libraries
if test "x$enable_public_key" = "xyes" ; then
if test "x$enable_mini_gmp" = "xno" ; then
AC_CHECK_LIB(gmp, __gmp
z_powm_sec
,,
AC_CHECK_LIB(gmp, __gmp
n_sec_div_r
,,
[AC_MSG_WARN(
[GNU MP not found, or too old. GMP-
5
.0 or later is needed, see http://gmplib.org/.
[GNU MP not found, or too old. GMP-
6
.0 or later is needed, see http
s
://gmplib.org/.
Support for public key algorithms will be unavailable.])]
enable_public_key=no)
...
...
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