Commit 29157e6d authored by Lev Walkin's avatar Lev Walkin

simplify

parent a737f3b4
......@@ -150,7 +150,7 @@ OCTET_STRING_decode_ber(asn1_TYPE_descriptor_t *td,
* This is a some sort of a hack.
* The OCTET STRING decoder is being used in BIT STRING mode.
*/
int is_bit_str = (td->specifics==(void *)-1)?1:0;
int is_bit_str = (td->specifics==(void *)-1);
ASN_DEBUG("Decoding %s as %s (%ld)",
td->name,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment