Unverified Commit e0df413d authored by Sean McGrail's avatar Sean McGrail Committed by GitHub
Browse files

Skip final call for LibreSSL 4.1.0 for CCM mode

parent 2f1164b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -903,7 +903,7 @@ mod test {
        ctx.cipher_update_vec(&ct, &mut buf).unwrap();
        // Some older libraries don't support calling EVP_CipherFinal/EVP_DecryptFinal for CCM
        // https://wiki.openssl.org/index.php/EVP_Authenticated_Encryption_and_Decryption#Authenticated_Decryption_using_CCM_mode
        #[cfg(any(libressl410, ossl111, awslc, boringssl))]
        #[cfg(any(ossl111, awslc, boringssl))]
        ctx.cipher_final_vec(&mut buf).unwrap();

        assert_eq!(buf, pt);