Emitting cleartext for errors with ASC 6F (CSS problems)

This commit is contained in:
Thomas Schmitt 2018-12-12 13:55:54 +01:00
parent 7282eaab2c
commit d72fb13225
2 changed files with 23 additions and 1 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2018.10.11.074048" #define Cdrskin_timestamP "2018.12.12.125445"

View File

@ -1544,6 +1544,28 @@ enum response scsi_error_msg(struct burn_drive *d, unsigned char *sense,
else else
break; break;
goto return_fail; goto return_fail;
case 0x6F:
if (*ascq == 0)
sprintf(msg, "Copy protection key exchange failure Authentication failure");
else if (*ascq == 1)
sprintf(msg, "Copy protection key exchange failure Key not present");
else if (*ascq == 2)
sprintf(msg, "Copy protection key exchange failure Key not established");
else if (*ascq == 3)
sprintf(msg, "Read of scrambled sector without authentication");
else if (*ascq == 4)
sprintf(msg, "Media region code is mismatched to logical unit region");
else if (*ascq == 5)
sprintf(msg, "Logical unit region must be permanent / Region reset count error");
else if (*ascq == 6)
sprintf(msg, "Insufficient block count for binding nonce recording");
else if (*ascq == 7)
sprintf(msg, "Conflict in binding nonce recording");
else if (*ascq == 8)
sprintf(msg, "Insufficient permission");
else
break;
goto return_fail;
case 0x72: case 0x72:
if (*ascq == 0) if (*ascq == 0)
sprintf(msg, "Session fixation error"); sprintf(msg, "Session fixation error");