summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/decoding.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/decoding.c b/lib/decoding.c
index 54a4c9f..3849375 100644
--- a/lib/decoding.c
+++ b/lib/decoding.c
@@ -1367,7 +1367,7 @@ asn1_der_decoding_element (ASN1_TYPE * structure, const char *elementName,
char temp[128], currentName[ASN1_MAX_NAME_SIZE * 10], *dot_p, *char_p;
int nameLen = ASN1_MAX_NAME_SIZE * 10 - 1, state;
int counter, len2, len3, len4, move, ris, tlen;
- unsigned char class, *temp2;
+ unsigned char class;
unsigned long tag;
int indefinite, result;
const unsigned char *der = ider;
@@ -1921,7 +1921,6 @@ asn1_der_decoding_element (ASN1_TYPE * structure, const char *elementName,
if (state == FOUND)
{
_asn1_set_value_octet (p, der + counter, len2 + len3);
- temp2 = NULL;
if (p == nodeFound)
state = EXIT;