summaryrefslogtreecommitdiffstats
path: root/ssl/d1_pkt.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-07-04 12:04:06 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-07-04 12:04:06 +0000
commitfc007d021e81cd585446e0c62a6983321b76e5f0 (patch)
treef3afe97ea023e94431791c7027189bc2f0493c69 /ssl/d1_pkt.c
parentbaacd8d4e5d1f1a2d6e34e725b3975dcef595414 (diff)
Fix warnings.
Diffstat (limited to 'ssl/d1_pkt.c')
-rw-r--r--ssl/d1_pkt.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ssl/d1_pkt.c b/ssl/d1_pkt.c
index a9404492dd..882228c7fd 100644
--- a/ssl/d1_pkt.c
+++ b/ssl/d1_pkt.c
@@ -530,7 +530,7 @@ err:
/* used only by dtls1_read_bytes */
int dtls1_get_record(SSL *s)
{
- int ssl_major,ssl_minor,al;
+ int ssl_major,ssl_minor;
int i,n;
SSL3_RECORD *rr;
SSL_SESSION *sess;
@@ -674,10 +674,6 @@ again:
dtls1_clear_timeouts(s); /* done waiting */
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.