From cc4288372ac4df4689558a3c93f0936061b3a081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 9 Dec 2007 06:24:18 +0000 Subject: [PATCH] (BN_is_negative): make argument const. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22261 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hcrypto/bn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/hcrypto/bn.c b/lib/hcrypto/bn.c index 1b6df15e9..2f160fe34 100644 --- a/lib/hcrypto/bn.c +++ b/lib/hcrypto/bn.c @@ -232,9 +232,9 @@ BN_set_negative(BIGNUM *bn, int flag) } int -BN_is_negative(BIGNUM *bn) +BN_is_negative(const BIGNUM *bn) { - return ((heim_integer *)bn)->negative ? 1 : 0; + return ((const heim_integer *)bn)->negative ? 1 : 0; } static const unsigned char is_set[8] = { 1, 2, 4, 8, 16, 32, 64, 128 };