aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/tasn_enc.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2001-08-26 21:04:21 +0000
committerGeoff Thorpe <geoff@openssl.org>2001-08-26 21:04:21 +0000
commitceff5fec5afcf0f30bc5e1fff26325ed1f33dc47 (patch)
tree3e2216a890d81f834f677e2319a9a8836385ecca /crypto/asn1/tasn_enc.c
parent4897dc4056ca2b2c2c9530408ce37d6dbfcdf10d (diff)
downloadopenssl-ceff5fec5afcf0f30bc5e1fff26325ed1f33dc47.tar.gz
gcc can't spot that 'derlst' is not used uninitialised, so appease it.
Diffstat (limited to 'crypto/asn1/tasn_enc.c')
-rw-r--r--crypto/asn1/tasn_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/tasn_enc.c b/crypto/asn1/tasn_enc.c
index e1fe3648a3..f6c8ddef0a 100644
--- a/crypto/asn1/tasn_enc.c
+++ b/crypto/asn1/tasn_enc.c
@@ -309,7 +309,7 @@ static int asn1_set_seq_out(STACK_OF(ASN1_VALUE) *sk, unsigned char **out, int s
int i;
ASN1_VALUE *skitem;
unsigned char *tmpdat = NULL, *p = NULL;
- DER_ENC *derlst, *tder;
+ DER_ENC *derlst = NULL, *tder;
if(do_sort) {
/* Don't need to sort less than 2 items */
if(sk_ASN1_VALUE_num(sk) < 2) do_sort = 0;