]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/bn/bn_sqr.c
Put the first stage of my bignum debugging adventures into CVS. This code
[thirdparty/openssl.git] / crypto / bn / bn_sqr.c
index c1d0cca438dc4358218386490a1e543bef2592c9..ab678d1f30f52ad805f92eaafe62777724abba58 100644 (file)
@@ -145,6 +145,7 @@ int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
        ret = 1;
  err:
        BN_CTX_end(ctx);
+       bn_check_top(r);
        return(ret);
        }