fix memory leak
[openssl.git] / ssl / d1_pkt.c
index ee67561a89562c65270b0031a7f414247210f485..467711077ea954ec930d14572bbc92d02e68364f 100644 (file)
@@ -414,7 +414,8 @@ dtls1_process_record(SSL *s)
                        goto err;
 
                /* otherwise enc_err == -1 */
-               goto err;
+               al=SSL_AD_BAD_RECORD_MAC;
+               goto f_err;
                }
 
 #ifdef TLS_DEBUG