summaryrefslogtreecommitdiff
path: root/crypto/asn1
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-03-08 14:02:28 +0000
committerBodo Möller <bodo@openssl.org>2001-03-08 14:02:28 +0000
commit4f98cbabdeb50d548c83a8ca36014f3011461379 (patch)
tree7b35bf5a0f1f6ebda19680f58e3142733278c6fe /crypto/asn1
parent98499135d762343c4419928359a372f6f3270b76 (diff)
downloadopenssl-new-4f98cbabdeb50d548c83a8ca36014f3011461379.tar.gz
avoid compiler warning
Diffstat (limited to 'crypto/asn1')
-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 2e1eafba26..e1fe3648a3 100644
--- a/crypto/asn1/tasn_enc.c
+++ b/crypto/asn1/tasn_enc.c
@@ -308,7 +308,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, *p;
+ unsigned char *tmpdat = NULL, *p = NULL;
DER_ENC *derlst, *tder;
if(do_sort) {
/* Don't need to sort less than 2 items */