Fix warnings.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 4 Jul 2009 12:04:06 +0000 (12:04 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 4 Jul 2009 12:04:06 +0000 (12:04 +0000)
ssl/d1_pkt.c

index a940449..882228c 100644 (file)
@@ -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.