Fix typo in exptest.c.
[openssl.git] / crypto / bn / exptest.c
index f598a07cf5c9919faacdaf095ba905ae338aa2b0..89ebcc871101c0dfd87e8921f15dfc5d9d5afad6 100644 (file)
@@ -163,7 +163,7 @@ int main(int argc, char *argv[])
                        {
                        if (BN_cmp(r_simple,r_mont) != 0)
                                printf("\nsimple and mont results differ\n");
-                       if (BN_cmp(r_simple,r_mont) != 0)
+                       if (BN_cmp(r_simple,r_mont_const) != 0)
                                printf("\nsimple and mont const time results differ\n");
                        if (BN_cmp(r_simple,r_recp) != 0)
                                printf("\nsimple and recp results differ\n");