Fix warnings.
This commit is contained in:
parent
baacd8d4e5
commit
fc007d021e
@ -530,7 +530,7 @@ err:
|
|||||||
/* used only by dtls1_read_bytes */
|
/* used only by dtls1_read_bytes */
|
||||||
int dtls1_get_record(SSL *s)
|
int dtls1_get_record(SSL *s)
|
||||||
{
|
{
|
||||||
int ssl_major,ssl_minor,al;
|
int ssl_major,ssl_minor;
|
||||||
int i,n;
|
int i,n;
|
||||||
SSL3_RECORD *rr;
|
SSL3_RECORD *rr;
|
||||||
SSL_SESSION *sess;
|
SSL_SESSION *sess;
|
||||||
@ -674,10 +674,6 @@ again:
|
|||||||
dtls1_clear_timeouts(s); /* done waiting */
|
dtls1_clear_timeouts(s); /* done waiting */
|
||||||
return(1);
|
return(1);
|
||||||
|
|
||||||
f_err:
|
|
||||||
ssl3_send_alert(s,SSL3_AL_FATAL,al);
|
|
||||||
err:
|
|
||||||
return(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return up to 'len' payload bytes received in 'type' records.
|
/* Return up to 'len' payload bytes received in 'type' records.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user