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

Этот коммит содержится в:
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");