mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Merge remote-tracking branch 'origin/maint-0.2.4'
This commit is contained in:
commit
2810753928
5
changes/bug8014
Normal file
5
changes/bug8014
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
o Minor usability improvements (build):
|
||||||
|
- Clarify that when autconf is checking for nacl, it is checking
|
||||||
|
specifically for nacl with a fast curve25519 implementation.
|
||||||
|
Fixes bug 8014.
|
||||||
|
|
@ -706,7 +706,7 @@ if test x$enable_curve25519 != xno; then
|
|||||||
AC_CHECK_HEADERS([crypto_scalarmult_curve25519.h \
|
AC_CHECK_HEADERS([crypto_scalarmult_curve25519.h \
|
||||||
nacl/crypto_scalarmult_curve25519.h])
|
nacl/crypto_scalarmult_curve25519.h])
|
||||||
|
|
||||||
AC_CACHE_CHECK([whether we can use curve25519 from nacl],
|
AC_CACHE_CHECK([for nacl compiled with a fast curve25519 implementation],
|
||||||
tor_cv_can_use_curve25519_nacl,
|
tor_cv_can_use_curve25519_nacl,
|
||||||
[tor_saved_LIBS="$LIBS"
|
[tor_saved_LIBS="$LIBS"
|
||||||
LIBS="$LIBS -lnacl"
|
LIBS="$LIBS -lnacl"
|
||||||
@ -718,7 +718,7 @@ if test x$enable_curve25519 != xno; then
|
|||||||
#include <nacl/crypto_scalarmult_curve25519.h>
|
#include <nacl/crypto_scalarmult_curve25519.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef crypto_scalarmult_curve25519_ref_BYTES
|
#ifdef crypto_scalarmult_curve25519_ref_BYTES
|
||||||
#error Hey, this is the reference implementation!
|
#error Hey, this is the reference implementation! That's not fast.
|
||||||
#endif
|
#endif
|
||||||
], [
|
], [
|
||||||
unsigned char *a, *b, *c; crypto_scalarmult_curve25519(a,b,c);
|
unsigned char *a, *b, *c; crypto_scalarmult_curve25519(a,b,c);
|
||||||
|
Loading…
Reference in New Issue
Block a user