projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Typo.
[oweals/openssl.git]
/
crypto
/
asn1
/
tasn_new.c
diff --git
a/crypto/asn1/tasn_new.c
b/crypto/asn1/tasn_new.c
index 083f88576a8dd8929962563066f054ef2a60f5ad..95e7de25aa040da730ac91681e4860af7f030d70 100644
(file)
--- a/
crypto/asn1/tasn_new.c
+++ b/
crypto/asn1/tasn_new.c
@@
-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: