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

index 0b740138ce7848082f63e005637272c6d89d707b..26d5c3b1d243db2dde28808db270cd2cd365f554 100644 (file)
@@ -486,7 +486,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;
@@ -631,10 +631,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.