(BN_is_negative): make argument const.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22261 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-12-09 06:24:18 +00:00
parent d274926bde
commit cc4288372a

View File

@@ -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 };