diff options
Diffstat (limited to 'src/lib/libcrypto/dh/dhtest.c')
-rw-r--r-- | src/lib/libcrypto/dh/dhtest.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/libcrypto/dh/dhtest.c b/src/lib/libcrypto/dh/dhtest.c index b76dede771..d75077f9fa 100644 --- a/src/lib/libcrypto/dh/dhtest.c +++ b/src/lib/libcrypto/dh/dhtest.c | |||
@@ -136,10 +136,6 @@ int main(int argc, char *argv[]) | |||
136 | b->g=BN_dup(a->g); | 136 | b->g=BN_dup(a->g); |
137 | if ((b->p == NULL) || (b->g == NULL)) goto err; | 137 | if ((b->p == NULL) || (b->g == NULL)) goto err; |
138 | 138 | ||
139 | /* Set a to run with normal modexp and b to use constant time */ | ||
140 | a->flags &= ~DH_FLAG_NO_EXP_CONSTTIME; | ||
141 | b->flags |= DH_FLAG_NO_EXP_CONSTTIME; | ||
142 | |||
143 | if (!DH_generate_key(a)) goto err; | 139 | if (!DH_generate_key(a)) goto err; |
144 | BIO_puts(out,"pri 1="); | 140 | BIO_puts(out,"pri 1="); |
145 | BN_print(out,a->priv_key); | 141 | BN_print(out,a->priv_key); |