summaryrefslogtreecommitdiffstats
path: root/ssl/d1_both.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-09-30 21:19:30 +0000
committerAndy Polyakov <appro@openssl.org>2007-09-30 21:19:30 +0000
commit89c333e3e5af6eb0f1d8986710448ac85116235a (patch)
tree1a74ac42f498e634e6e2c309dcddcbdbb00d9712 /ssl/d1_both.c
parent0d97d00b6c3b9625725a3e90fa04f3214a0d5da7 (diff)
Make ChangeCipherSpec compliant with DTLS RFC4347.
Diffstat (limited to 'ssl/d1_both.c')
-rw-r--r--ssl/d1_both.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ssl/d1_both.c b/ssl/d1_both.c
index 4ec900f821..c8e3e47d89 100644
--- a/ssl/d1_both.c
+++ b/ssl/d1_both.c
@@ -813,7 +813,6 @@ int dtls1_send_change_cipher_spec(SSL *s, int a, int b)
*p++=SSL3_MT_CCS;
s->d1->handshake_write_seq = s->d1->next_handshake_write_seq;
s->d1->next_handshake_write_seq++;
- s2n(s->d1->handshake_write_seq,p);
s->init_num=DTLS1_CCS_HEADER_LENGTH;
s->init_off=0;
@@ -1255,5 +1254,4 @@ dtls1_get_ccs_header(unsigned char *data, struct ccs_header_st *ccs_hdr)
memset(ccs_hdr, 0x00, sizeof(struct ccs_header_st));
ccs_hdr->type = *(data++);
- n2s(data, ccs_hdr->seq);
}