Searched refs:dest_maxlen (Results 1 – 2 of 2) sorted by relevance
884 unsigned int k, dest_maxlen = 0; in dtls1_read_bytes() local890 dest_maxlen = sizeof s->d1->handshake_fragment; in dtls1_read_bytes()896 dest_maxlen = sizeof(s->d1->alert_fragment); in dtls1_read_bytes()923 if (dest_maxlen > 0) in dtls1_read_bytes()927 if ( rr->length < dest_maxlen) in dtls1_read_bytes()943 for ( k = 0; k < dest_maxlen; k++) in dtls1_read_bytes()948 *dest_len = dest_maxlen; in dtls1_read_bytes()
1066 unsigned int dest_maxlen = 0; in ssl3_read_bytes() local1072 dest_maxlen = sizeof s->s3->handshake_fragment; in ssl3_read_bytes()1078 dest_maxlen = sizeof s->s3->alert_fragment; in ssl3_read_bytes()1083 if (dest_maxlen > 0) in ssl3_read_bytes()1085 n = dest_maxlen - *dest_len; /* available space in 'dest' */ in ssl3_read_bytes()1096 if (*dest_len < dest_maxlen) in ssl3_read_bytes()