fix break for non-64bit systems due to non-applying macro resp variable
having crept in with the last patch. ok martin, compile tested mbalmer and martin
This commit is contained in:
parent
598e09136a
commit
1513d3badc
|
@ -598,11 +598,11 @@ dtls1_process_out_of_seq_message(SSL *s, struct hm_header_st* msg_hdr, int *ok)
|
|||
if (i<=0 || (unsigned long)i!=frag_len)
|
||||
goto err;
|
||||
|
||||
pq_64bit_init(&seq64);
|
||||
pq_64bit_assign_word(&seq64, msg_hdr->seq);
|
||||
memset(seq64be,0,sizeof(seq64be));
|
||||
seq64be[6] = (unsigned char)(msg_hdr->seq>>8);
|
||||
seq64be[7] = (unsigned char)(msg_hdr->seq);
|
||||
|
||||
item = pitem_new(seq64be, frag);
|
||||
pq_64bit_free(&seq64);
|
||||
if ( item == NULL)
|
||||
goto err;
|
||||
|
||||
|
|
Loading…
Reference in New Issue