X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fbn%2Fexptest.c;h=89ebcc871101c0dfd87e8921f15dfc5d9d5afad6;hb=07645deeb8cc203951c1794a0fde54af8f877393;hp=f598a07cf5c9919faacdaf095ba905ae338aa2b0;hpb=46a643763de6d8e39ecf6f76fa79b4d04885aa59;p=oweals%2Fopenssl.git diff --git a/crypto/bn/exptest.c b/crypto/bn/exptest.c index f598a07cf5..89ebcc8711 100644 --- a/crypto/bn/exptest.c +++ b/crypto/bn/exptest.c @@ -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");