oxidize: Initial corrode translation
Includes changes to the original C code needed for `corrode` to accept the input. There were a lot of problems with APDU fields. These need to be copied into the translated Rust code and fixed up manually. Code otherwise contains the raw `corrode` output.
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ typedef struct
|
||||
const char *description;
|
||||
} err_t;
|
||||
|
||||
static const err_t errors[] = {
|
||||
static const err_t *errors = {
|
||||
ERR (YKPIV_OK, "Successful return"),
|
||||
ERR (YKPIV_MEMORY_ERROR, "Error allocating memory"),
|
||||
ERR (YKPIV_PCSC_ERROR, "Error in PCSC call"),
|
||||
|
||||
Reference in New Issue
Block a user