aboutsummaryrefslogtreecommitdiff
path: root/crypto/asn1/tasn_enc.c
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/tasn_enc.c
parent98499135d762343c4419928359a372f6f3270b76 (diff)
downloadopenssl-4f98cbabdeb50d548c83a8ca36014f3011461379.zip
openssl-4f98cbabdeb50d548c83a8ca36014f3011461379.tar.gz
openssl-4f98cbabdeb50d548c83a8ca36014f3011461379.tar.bz2
avoid compiler warning
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 2e1eafb..e1fe364 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 */