summaryrefslogtreecommitdiffstats
path: root/ssl/d1_pkt.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-09-30 18:53:54 +0000
committerAndy Polyakov <appro@openssl.org>2007-09-30 18:53:54 +0000
commit7432d073af97539e5a2c8b0f1ff254d6b53c9682 (patch)
treee9b5dc26f8cb6a250b9f3fc2c4366518b75930e2 /ssl/d1_pkt.c
parent04e2ab2c02aebcfd3d6eab1ea6c0dbcaa9877cad (diff)
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;