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 f598a07..89ebcc8 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");