summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_gcd.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-11-16 22:43:32 +0000
committerRichard Levitte <levitte@openssl.org>2000-11-16 22:43:32 +0000
commitcbd48ba626845170ee2b70774e881a4b50a7369d (patch)
tree946ca57aacaadcdbe4a543695653a73dc9bedd40 /crypto/bn/bn_gcd.c
parent67d93e6f49db9029708142ebbaa7bd7084e4468a (diff)
More constification of the BN library.
Diffstat (limited to 'crypto/bn/bn_gcd.c')
-rw-r--r--crypto/bn/bn_gcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_gcd.c b/crypto/bn/bn_gcd.c
index 61c431fc7b..01fbd12359 100644
--- a/crypto/bn/bn_gcd.c
+++ b/crypto/bn/bn_gcd.c
@@ -62,7 +62,7 @@
static BIGNUM *euclid(BIGNUM *a, BIGNUM *b);
-int BN_gcd(BIGNUM *r, BIGNUM *in_a, BIGNUM *in_b, BN_CTX *ctx)
+int BN_gcd(BIGNUM *r, const BIGNUM *in_a, const BIGNUM *in_b, BN_CTX *ctx)
{
BIGNUM *a,*b,*t;
int ret=0;