Fix typo in exptest.c.
authorAndy Polyakov <appro@openssl.org>
Tue, 4 Oct 2005 06:23:15 +0000 (06:23 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 4 Oct 2005 06:23:15 +0000 (06:23 +0000)
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");