diff options
Diffstat (limited to 'src/lib/libcrypto/bn/exptest.c')
-rw-r--r-- | src/lib/libcrypto/bn/exptest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/exptest.c b/src/lib/libcrypto/bn/exptest.c index f598a07cf5..074a8e882a 100644 --- a/src/lib/libcrypto/bn/exptest.c +++ b/src/lib/libcrypto/bn/exptest.c | |||
@@ -163,7 +163,7 @@ int main(int argc, char *argv[]) | |||
163 | { | 163 | { |
164 | if (BN_cmp(r_simple,r_mont) != 0) | 164 | if (BN_cmp(r_simple,r_mont) != 0) |
165 | printf("\nsimple and mont results differ\n"); | 165 | printf("\nsimple and mont results differ\n"); |
166 | if (BN_cmp(r_simple,r_mont) != 0) | 166 | if (BN_cmp(r_simple,r_mont_const) != 0) |
167 | printf("\nsimple and mont const time results differ\n"); | 167 | printf("\nsimple and mont const time results differ\n"); |
168 | if (BN_cmp(r_simple,r_recp) != 0) | 168 | if (BN_cmp(r_simple,r_recp) != 0) |
169 | printf("\nsimple and recp results differ\n"); | 169 | printf("\nsimple and recp results differ\n"); |
@@ -187,7 +187,7 @@ int main(int argc, char *argv[]) | |||
187 | BN_free(b); | 187 | BN_free(b); |
188 | BN_free(m); | 188 | BN_free(m); |
189 | BN_CTX_free(ctx); | 189 | BN_CTX_free(ctx); |
190 | ERR_remove_state(0); | 190 | ERR_remove_thread_state(NULL); |
191 | CRYPTO_mem_leaks(out); | 191 | CRYPTO_mem_leaks(out); |
192 | BIO_free(out); | 192 | BIO_free(out); |
193 | printf(" done\n"); | 193 | printf(" done\n"); |