summaryrefslogtreecommitdiffstats
path: root/ssl/d1_pkt.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-09-30 20:53:54 +0200
committerAndy Polyakov <appro@openssl.org>2007-09-30 20:53:54 +0200
commit7432d073af97539e5a2c8b0f1ff254d6b53c9682 (patch)
treee9b5dc26f8cb6a250b9f3fc2c4366518b75930e2 /ssl/d1_pkt.c
parentMove no status notification to ssl_check_serverhello_tlsext() to ensure (diff)
downloadopenssl-7432d073af97539e5a2c8b0f1ff254d6b53c9682.tar.xz
openssl-7432d073af97539e5a2c8b0f1ff254d6b53c9682.zip
Switch to RFC-compliant version encoding in DTLS.
Diffstat (limited to 'ssl/d1_pkt.c')
-rw-r--r--ssl/d1_pkt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/d1_pkt.c b/ssl/d1_pkt.c
index bf189f11c3..8cde57509c 100644
--- a/ssl/d1_pkt.c
+++ b/ssl/d1_pkt.c
@@ -526,7 +526,7 @@ int dtls1_get_record(SSL *s)
SSL3_RECORD *rr;
SSL_SESSION *sess;
unsigned char *p;
- short version;
+ unsigned short version;
DTLS1_BITMAP *bitmap;
unsigned int is_next_epoch;