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:
e758ce6
)
Make ASN1_TYPE_get() work for V_ASN1_NULL type.
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 4 Dec 2002 00:50:20 +0000
(
00:50
+0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 4 Dec 2002 00:50:20 +0000
(
00:50
+0000)
crypto/asn1/a_type.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/a_type.c
b/crypto/asn1/a_type.c
index 96e111cf237b6b22cd031f0acde2d158b99a72db..fe3fcd40b0b24be71bb4afdd06d7433ae3b72b24 100644
(file)
--- a/
crypto/asn1/a_type.c
+++ b/
crypto/asn1/a_type.c
@@
-62,7
+62,7
@@
int ASN1_TYPE_get(ASN1_TYPE *a)
{
- if (
a->value.ptr != NULL
)
+ if (
(a->value.ptr != NULL) || (a->type == V_ASN1_NULL)
)
return(a->type);
else
return(0);