projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Commit #16325 fixed one thing but broke DH with certain moduli [from HEAD].
[oweals/openssl.git]
/
crypto
/
bn
/
expspeed.c
diff --git
a/crypto/bn/expspeed.c
b/crypto/bn/expspeed.c
index 91dc7ff9a7c7c4f85f1d8593a7fd2b9b2f30f0cd..4d5f221f33ad0f63e017979930cca06e39181ca6 100644
(file)
--- a/
crypto/bn/expspeed.c
+++ b/
crypto/bn/expspeed.c
@@
-97,7
+97,7
@@
static void genprime_cb(int p, int n, void *arg);
#include <openssl/err.h>
#include <openssl/rand.h>
#include <openssl/err.h>
#include <openssl/rand.h>
-#if !defined(OPENSSL_SYS_MSDOS) && (!defined(OPENSSL_SYS_VMS) || defined(__DECC))
+#if !defined(OPENSSL_SYS_MSDOS) && (!defined(OPENSSL_SYS_VMS) || defined(__DECC))
&& !defined(OPENSSL_SYS_MACOSX)
#define TIMES
#endif
#define TIMES
#endif
@@
-321,7
+321,7
@@
void do_mul_exp(BIGNUM *r, BIGNUM *a, BIGNUM *b, BIGNUM *c, BN_CTX *ctx)
#else /* TEST_SQRT */
"2*sqrt [prime == %d (mod 64)] %4d %4d mod %4d"
#endif
#else /* TEST_SQRT */
"2*sqrt [prime == %d (mod 64)] %4d %4d mod %4d"
#endif
- " -> %8.
3
fms %5.1f (%ld)\n",
+ " -> %8.
6
fms %5.1f (%ld)\n",
#ifdef TEST_SQRT
P_MOD_64,
#endif
#ifdef TEST_SQRT
P_MOD_64,
#endif