X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fbn%2Fbn_recp.c;h=c1b0e230ea270193be9633a14c35e548dfec85e3;hp=85b4ac814882b0586048b8c51f7d1fd2d7144a17;hb=84c15db551ce1d167b901a3bde2b21880b084384;hpb=ca570cfdbcaf35ba7e2554fd18eda8cfab2176e4 diff --git a/crypto/bn/bn_recp.c b/crypto/bn/bn_recp.c index 85b4ac8148..c1b0e230ea 100644 --- a/crypto/bn/bn_recp.c +++ b/crypto/bn/bn_recp.c @@ -91,7 +91,7 @@ void BN_RECP_CTX_free(BN_RECP_CTX *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));