Fix from HEAD.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 4 Jul 2009 12:05:14 +0000 (12:05 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 4 Jul 2009 12:05:14 +0000 (12:05 +0000)
ssl/d1_pkt.c

index a9404492ddc8f3f2588b0518560f3508a0fe3c8d..882228c7fd09358d294b71fc0664f75cfbfaa479 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.