Fix missing return value checks
Ensure that all functions have their return values checked where appropriate. This covers all functions defined and called from within libssl. Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
@@ -567,7 +567,11 @@ static void dtls1_set_handshake_header(SSL *s, int htype, unsigned long len)
|
||||
s->init_num = (int)len + DTLS1_HM_HEADER_LENGTH;
|
||||
s->init_off = 0;
|
||||
/* Buffer the message to handle re-xmits */
|
||||
dtls1_buffer_message(s, 0);
|
||||
/*
|
||||
* Deliberately swallow error return. We really should do something with
|
||||
* this - but its a void function that can't (easily) be changed
|
||||
*/
|
||||
if(!dtls1_buffer_message(s, 0));
|
||||
}
|
||||
|
||||
static int dtls1_handshake_write(SSL *s)
|
||||
|
Reference in New Issue
Block a user