diff options
author | Richard Levitte <levitte@openssl.org> | 2005-06-02 17:26:17 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2005-06-02 17:26:17 +0000 |
commit | d28b7799dd116a1d8ebf8a2eef0dbd0481fd81fb (patch) | |
tree | 38c08e6a28371182125ff6113b5067f44beee2ac /ssl | |
parent | b0fb889c29a70ba292186a3dfd10fd4a1434a4d5 (diff) |
handshake_write_seq is an unsigned short, so treat it like one
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/d1_srvr.c | 2 |
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 |