Corrected the decode_is_context_specific function to return a boolean value.

This commit is contained in:
skarg
2005-01-27 19:37:03 +00:00
parent 2cf5a544de
commit 9ab18525b2
+1 -1
View File
@@ -258,7 +258,7 @@ static bool decode_is_extended_value(uint8_t * apdu)
// returns the number of apdu bytes consumed
bool decode_is_context_specific(uint8_t * apdu)
{
return (apdu[0] & BIT3);
return ((apdu[0] & BIT3) == BIT3);
}
// from clause 20.2.1.3.2 Constructed Data