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

This commit is contained in:
Thomas Schmitt 2018-12-12 13:55:54 +01:00
父節點 7282eaab2c
當前提交 d72fb13225
共有 2 個文件被更改,包括 23 次插入1 次删除

查看文件

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

查看文件

@ -1544,6 +1544,28 @@ enum response scsi_error_msg(struct burn_drive *d, unsigned char *sense,
else
break;
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:
if (*ascq == 0)
sprintf(msg, "Session fixation error");