projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ceb595
)
!a && !a->b is clearly wrong! Changed to !a || !a->b (Coverity ID 145).
author
Ben Laurie
<ben@openssl.org>
Fri, 26 Dec 2008 15:32:59 +0000
(15:32 +0000)
committer
Ben Laurie
<ben@openssl.org>
Fri, 26 Dec 2008 15:32:59 +0000
(15:32 +0000)
crypto/asn1/bio_ndef.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/bio_ndef.c
b/crypto/asn1/bio_ndef.c
index 96074802d39df3189530e193e1210bc101087aa5..370389b1e6e728b5635df41add3a22db6319d8e2 100644
(file)
--- a/
crypto/asn1/bio_ndef.c
+++ b/
crypto/asn1/bio_ndef.c
@@
-108,7
+108,7
@@
BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it)
const ASN1_AUX *aux = it->funcs;
ASN1_STREAM_ARG sarg;
- if (!aux
&&
!aux->asn1_cb)
+ if (!aux
||
!aux->asn1_cb)
{
ASN1err(ASN1_F_BIO_NEW_NDEF, ASN1_R_STREAMING_NOT_SUPPORTED);
return NULL;