]> git.ozlabs.org Git - petitboot/blobdiff - ui/test/discover-test.c
lib: Add AUTH_MSG_DECRYPT
[petitboot] / ui / test / discover-test.c
index ea767640e89a3f7ce6ff725a7ff1cf21b231dc1a..6fb14dec2059b9c83c0184174b885e1219e1c5d1 100644 (file)
@@ -16,6 +16,8 @@ static const char *device_type_string(enum device_type type)
                return "optical";
        case DEVICE_TYPE_ANY:
                return "any";
                return "optical";
        case DEVICE_TYPE_ANY:
                return "any";
+       case DEVICE_TYPE_LUKS:
+               return "encrypted";
        case DEVICE_TYPE_UNKNOWN:
                return "unknown";
        }
        case DEVICE_TYPE_UNKNOWN:
                return "unknown";
        }
@@ -81,8 +83,6 @@ static void print_status(struct status *status,
        printf("status:\n");
        printf("\ttype:     %d\n", status->type);
        printf("\tmessage:  %s\n", status->message);
        printf("status:\n");
        printf("\ttype:     %d\n", status->type);
        printf("\tmessage:  %s\n", status->message);
-       printf("\tdetail:   %s\n", status->detail);
-       printf("\tprogress: %d\n", status->progress);
 
 }
 
 
 }