summaryrefslogtreecommitdiff
path: root/lib/ASN1.y
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-23 09:47:24 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-23 09:47:24 +0100
commit1153d7fa1ba99b6320cfc152395508692480440d (patch)
tree52da468d601b312f432d5e832d4a5dd72d0a8746 /lib/ASN1.y
parentce0dbb2d2e8c5c18532afce2833af334440ae00c (diff)
downloadlibtasn1-1153d7fa1ba99b6320cfc152395508692480440d.tar.gz
libtasn1-1153d7fa1ba99b6320cfc152395508692480440d.tar.bz2
libtasn1-1153d7fa1ba99b6320cfc152395508692480440d.zip
zeroize last_error_token on unknown errors.
Diffstat (limited to 'lib/ASN1.y')
-rw-r--r--lib/ASN1.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ASN1.y b/lib/ASN1.y
index d975632..ce0a8af 100644
--- a/lib/ASN1.y
+++ b/lib/ASN1.y
@@ -876,7 +876,7 @@ _asn1_yyerror (const char *s)
file_name, line_number, last_token);
return;
}
-
+ last_error_token[0] = 0;
if (result_parse != ASN1_NAME_TOO_LONG)
{