Header documentation changes and other small fixes
[crypto.git] / lib / silcasn1 / silcasn1_decode.c
index 0d7416c965ea0dda1768c23ecbed43988f509232..a85f27402851ad5858e01191ab7408bb78a514fc 100644 (file)
@@ -590,7 +590,7 @@ silc_asn1_decoder(SilcAsn1 asn1, SilcStack stack1, SilcAsn1Tag type,
            goto fail;
          }
 
-         *(*val) = (rdata[0] == 0xff ? TRUE : FALSE);
+         *(*val) = (rdata[0] != 0x00 ? TRUE : FALSE);
          break;
        }