(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:
@@ -232,9 +232,9 @@ BN_set_negative(BIGNUM *bn, int flag)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
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 };
|
static const unsigned char is_set[8] = { 1, 2, 4, 8, 16, 32, 64, 128 };
|
||||||
|
Reference in New Issue
Block a user