Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nettle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Norbert Pócs
nettle
Commits
360dfd98
Commit
360dfd98
authored
Apr 11, 2014
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
Skip GMP tests if public key support is disabled.
parent
f8aa12d5
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+2
-0
2 additions, 0 deletions
ChangeLog
configure.ac
+27
-23
27 additions, 23 deletions
configure.ac
with
29 additions
and
23 deletions
ChangeLog
+
2
−
0
View file @
360dfd98
2014-04-11 Niels Möller <nisse@lysator.liu.se>
2014-04-11 Niels Möller <nisse@lysator.liu.se>
* configure.ac: Skip GMP tests if public key support is disabled.
* eax.c (block16_xor): Fixed bug effecting 32-bit platforms.
* eax.c (block16_xor): Fixed bug effecting 32-bit platforms.
* Makefile.in (DISTFILES): Deleted memxor.c, already included via
* Makefile.in (DISTFILES): Deleted memxor.c, already included via
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
27
−
23
View file @
360dfd98
...
@@ -673,6 +673,7 @@ if test "x$nettle_cv_fcntl_locking" = "xyes" ; then
...
@@ -673,6 +673,7 @@ if test "x$nettle_cv_fcntl_locking" = "xyes" ; then
fi
fi
# Checks for libraries
# Checks for libraries
if test "x$enable_public_key" = "xyes" ; then
AC_CHECK_LIB(gmp, __gmpz_getlimbn,,
AC_CHECK_LIB(gmp, __gmpz_getlimbn,,
[AC_MSG_WARN(
[AC_MSG_WARN(
[GNU MP not found, or not 3.1 or up, see http://gmplib.org/.
[GNU MP not found, or not 3.1 or up, see http://gmplib.org/.
...
@@ -681,7 +682,9 @@ Support for public key algorithms will be unavailable.])]
...
@@ -681,7 +682,9 @@ Support for public key algorithms will be unavailable.])]
# Add -R flags needed to run programs linked with gmp
# Add -R flags needed to run programs linked with gmp
LSH_RPATH_FIX
LSH_RPATH_FIX
fi
if test "x$enable_public_key" = "xyes" ; then
# Check for gmp limb size
# Check for gmp limb size
nettle_cv_gmp_numb_bits=0
nettle_cv_gmp_numb_bits=0
if test "$enable_public_key" = yes; then
if test "$enable_public_key" = yes; then
...
@@ -698,6 +701,7 @@ AC_SUBST([GMP_NUMB_BITS])
...
@@ -698,6 +701,7 @@ AC_SUBST([GMP_NUMB_BITS])
AH_TEMPLATE([HAVE_MPZ_POWM_SEC], [Define if mpz_powm_sec is available (appeared in GMP-5)])
AH_TEMPLATE([HAVE_MPZ_POWM_SEC], [Define if mpz_powm_sec is available (appeared in GMP-5)])
AC_CHECK_FUNC(__gmpz_powm_sec, [AC_DEFINE(HAVE_MPZ_POWM_SEC)])
AC_CHECK_FUNC(__gmpz_powm_sec, [AC_DEFINE(HAVE_MPZ_POWM_SEC)])
fi
AH_TEMPLATE([WITH_HOGWEED], [Defined if public key features are enabled])
AH_TEMPLATE([WITH_HOGWEED], [Defined if public key features are enabled])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment