summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/coding.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/coding.c b/lib/coding.c
index e561700..6fb7c05 100644
--- a/lib/coding.c
+++ b/lib/coding.c
@@ -905,6 +905,11 @@ _asn1_ordering_set_of (unsigned char *der, int der_len, asn1_node node)
}
counter += len + len2;
}
+ else
+ {
+ err = ASN1_DER_ERROR;
+ goto error;
+ }
p_vet->end = counter;
p = p->right;