Update perl asm scripts include paths for perlasm.
[openssl.git] / crypto / asn1 / tasn_new.c
index 083f88576a8dd8929962563066f054ef2a60f5ad..95e7de25aa040da730ac91681e4860af7f030d70 100644 (file)
@@ -345,10 +345,7 @@ int ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
                return 1;
 
                case V_ASN1_BOOLEAN:
-               if (it)
-                       *(ASN1_BOOLEAN *)pval = it->size;
-               else
-                       *(ASN1_BOOLEAN *)pval = -1;
+               *(ASN1_BOOLEAN *)pval = it->size;
                return 1;
 
                case V_ASN1_NULL: