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:
6704bb1
)
Set the error description to null initialy.
author
Nikos Mavrogiannopoulos
<nmav@gnutls.org>
Sat, 6 Oct 2012 12:05:43 +0000
(14:05 +0200)
committer
Nikos Mavrogiannopoulos
<nmav@gnutls.org>
Sat, 6 Oct 2012 12:05:43 +0000
(14:05 +0200)
lib/decoding.c
patch
|
blob
|
history
diff --git
a/lib/decoding.c
b/lib/decoding.c
index
df86f85
..
3714979
100644
(file)
--- a/
lib/decoding.c
+++ b/
lib/decoding.c
@@
-833,6
+833,9
@@
asn1_der_decoding (asn_node_t * element, const void *ider, int len,
node = *element;
+ if (errorDescription != NULL)
+ errorDescription[0] = 0;
+
if (node == NULL)
return ASN1_ELEMENT_NOT_FOUND;