diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2007-08-12 18:56:14 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2007-08-12 18:56:14 +0000 |
commit | 367eb1f125063b9e76b6eaaacd85705023d435b4 (patch) | |
tree | 40a59b5e201e9d62318be898fac42afaf3ef9da4 /ssl/ssl_asn1.c | |
parent | 3444961787a7205822f7326ae1e062391c8f0bcb (diff) |
Fix warning and make no-tlsext work.
Diffstat (limited to 'ssl/ssl_asn1.c')
-rw-r--r-- | ssl/ssl_asn1.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ssl/ssl_asn1.c b/ssl/ssl_asn1.c index 2e8e1bcef4..789f6a3397 100644 --- a/ssl/ssl_asn1.c +++ b/ssl/ssl_asn1.c @@ -118,10 +118,13 @@ typedef struct ssl_session_asn1_st int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp) { #define LSIZE2 (sizeof(long)*2) - int v1=0,v2=0,v3=0,v4=0,v5=0,v6=0,v7=0,v8=0,v9=0,v10=0; + int v1=0,v2=0,v3=0,v4=0,v5=0,v7=0,v8=0; unsigned char buf[4],ibuf1[LSIZE2],ibuf2[LSIZE2]; unsigned char ibuf3[LSIZE2],ibuf4[LSIZE2],ibuf5[LSIZE2]; +#ifndef OPENSSL_NO_TLSEXT + int v6=0,v9=0,v10=0; unsigned char ibuf6[LSIZE2]; +#endif long l; SSL_SESSION_ASN1 a; M_ASN1_I2D_vars(in); |