projects
/
platform
/
upstream
/
libtasn1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b00855
)
other small fix
author
Nikos Mavrogiannopoulos
<nmav@gnutls.org>
Thu, 20 Sep 2012 16:39:21 +0000
(18:39 +0200)
committer
Nikos Mavrogiannopoulos
<nmav@gnutls.org>
Thu, 20 Sep 2012 16:39:21 +0000
(18:39 +0200)
lib/parser_aux.c
patch
|
blob
|
history
diff --git
a/lib/parser_aux.c
b/lib/parser_aux.c
index
1d22951
..
7b89355
100644
(file)
--- a/
lib/parser_aux.c
+++ b/
lib/parser_aux.c
@@
-867,7
+867,10
@@
_asn1_check_identifier (ASN1_TYPE node)
p2 = asn1_find_node (node, name2);
if (p2 == NULL)
{
- _asn1_strcpy (_asn1_identifierMissing, p->value);
+ if (p->value)
+ _asn1_strcpy (_asn1_identifierMissing, p->value);
+ else
+ _asn1_strcpy (_asn1_identifierMissing, "(null)");
return ASN1_IDENTIFIER_NOT_FOUND;
}
}