summaryrefslogtreecommitdiffstats
path: root/ssl/d1_srvr.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-06-04 04:18:26 +0000
committerRichard Levitte <levitte@openssl.org>2005-06-04 04:18:26 +0000
commit02c5ddf91e337fe7a6103c89dc3b3d3972a59b42 (patch)
tree7ef7db9bddfabdf7c96208a4568fd0d2902e5f6e /ssl/d1_srvr.c
parent1aaeaf8a3db2e0cb461fd0c1c6e5756ae238f0f7 (diff)
From 0.9.8-stable:
handshake_write_seq is an unsigned short, so treat it like one
Diffstat (limited to 'ssl/d1_srvr.c')
-rw-r--r--ssl/d1_srvr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/d1_srvr.c b/ssl/d1_srvr.c
index c4118bb26f..6d07dd4792 100644
--- a/ssl/d1_srvr.c
+++ b/ssl/d1_srvr.c
@@ -1075,7 +1075,7 @@ int dtls1_send_certificate_request(SSL *s)
d=(unsigned char *)buf->data;
*(d++)=SSL3_MT_CERTIFICATE_REQUEST;
l2n3(n,d);
- l2n(s->d1->handshake_write_seq,d);
+ s2n(s->d1->handshake_write_seq,d);
s->d1->handshake_write_seq++;
/* we should now have things packed up, so lets send