signed update working

This commit is contained in:
Conor Patrick
2018-12-02 23:31:34 -05:00
parent 0c461bb5d8
commit bfa2d2830d
12 changed files with 116 additions and 270 deletions

View File

@@ -100,7 +100,7 @@ int16_t extend_u2f(struct u2f_request_apdu* req, uint32_t len)
}
else
{
rcode = U2F_SW_WRONG_DATA;
rcode = U2F_SW_WRONG_DATA;
}
printf1(TAG_WALLET,"Ignoring U2F request\n");
goto end;

View File

@@ -55,6 +55,7 @@ struct logtag tagtable[] = {
{TAG_TIME,"TIME"},
{TAG_WALLET,"WALLET"},
{TAG_STOR,"STOR"},
{TAG_BOOT,"BOOT"},
};

View File

@@ -22,7 +22,7 @@
#ifndef _LOG_H
#define _LOG_H
#include APP_CONFIG
#include APP_CONFIG
#include <stdint.h>
#ifndef DEBUG_LEVEL
@@ -55,6 +55,7 @@ typedef enum
TAG_WALLET = (1 << 14),
TAG_STOR = (1 << 15),
TAG_DUMP2 = (1 << 16),
TAG_BOOT = (1 << 17),
TAG_FILENO = (1<<31)
} LOG_TAG;