Use the TLSv1.3 nonce construction
[openssl.git] / util / TLSProxy / Record.pm
index 7189035fb4afd15a6574236e99ee259617f2ed6c..5a35925aebf221355de81df92d308b861fd78a28 100644 (file)
@@ -242,8 +242,6 @@ sub decrypt()
             #an unecrypted alert, so don't try to decrypt
             return $data if (length($data) == 2);
         }
-        #8 bytes for a GCM IV
-        $data = substr($data, 8);
         $mactaglen = 16;
     } elsif ($self->version >= VERS_TLS_1_1()) {
         #16 bytes for a standard IV