Removing the workaround as the bug had been fixed

This commit is contained in:
Karel Srot 2023-05-22 17:59:00 +02:00
commit 1973846d23

View file

@ -121,12 +121,7 @@ fi
if nvrTestPackage opencryptoki '>=' 3.15.0; then
rlPhaseStartTest "Test key removal"
if nvrTestPackage opencryptoki '<' 3.21.0; then
rlRun -s "echo '' | p11sak remove-key aes --slot $SLOT --pin $pkcsUSER_PIN --label aes_key"
else
rlFail "failing here so we won't forget to remove the workaround"
rlRun -s "echo 'n' | p11sak remove-key aes --slot $SLOT --pin $pkcsUSER_PIN --label aes_key"
fi
rlRun -s "echo '' | p11sak remove-key aes --slot $SLOT --pin $pkcsUSER_PIN --label aes_key"
if nvrTestPackage opencryptoki '<' 3.21.0; then
rlAssertGrep "Skip deleting Key. User input CKR_CANCEL" $rlRun_LOG
else