Some constification and stacks that slipped through the cracks (how?).
[openssl.git] / crypto / bn / bn_recp.c
index 85b4ac814882b0586048b8c51f7d1fd2d7144a17..c1b0e230ea270193be9633a14c35e548dfec85e3 100644 (file)
@@ -91,7 +91,7 @@ void BN_RECP_CTX_free(BN_RECP_CTX *recp)
                Free(recp);
        }
 
                Free(recp);
        }
 
-int BN_RECP_CTX_set(BN_RECP_CTX *recp, BIGNUM *d, BN_CTX *ctx)
+int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *d, BN_CTX *ctx)
        {
        BN_copy(&(recp->N),d);
        BN_zero(&(recp->Nr));
        {
        BN_copy(&(recp->N),d);
        BN_zero(&(recp->Nr));