aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/tasn_dec.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-04-05 11:40:16 +0000
committerBodo Möller <bodo@openssl.org>2001-04-05 11:40:16 +0000
commit83d968df60de6d33de4f0740c6d5051457a17cf0 (patch)
tree0133e9467593702e3bfaae07862ae06dc82dd9de /crypto/asn1/tasn_dec.c
parent4ac881ede3c8243a46b7c1db30bd26dd216714b1 (diff)
downloadopenssl-83d968df60de6d33de4f0740c6d5051457a17cf0.tar.gz
Don't use 'tt' uninitialized when reporting an error
(we don't have an ASN1_TEMPLATE to complain about at this stage, so errtt == NULL should be OK)
Diffstat (limited to 'crypto/asn1/tasn_dec.c')
-rw-r--r--crypto/asn1/tasn_dec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/asn1/tasn_dec.c b/crypto/asn1/tasn_dec.c
index 7536bc8cb3..7237f7e93c 100644
--- a/crypto/asn1/tasn_dec.c
+++ b/crypto/asn1/tasn_dec.c
@@ -231,7 +231,6 @@ int ASN1_item_ex_d2i(ASN1_VALUE **pval, unsigned char **in, long len, const ASN1
/* Allocate structure */
if(!*pval) {
if(!ASN1_item_ex_new(pval, it)) {
- errtt = tt;
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ERR_R_NESTED_ASN1_ERROR);
goto err;
}