Skip to content

Commit

Permalink
feat: add fake values for the example
Browse files Browse the repository at this point in the history
  • Loading branch information
arata-nvm committed Jan 31, 2022
1 parent a9fa1ab commit b64753b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions MitnalPkg/OAuth.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@

#include "Secrets"

// fake value
static const CHAR8 *gNonce = "JtB6znKJNVo";
static const UINT64 gTimestamp = 1643528823;

EFI_STATUS HmacSha1(IN CHAR8 *Key, IN CHAR8 *Data, OUT CHAR8 *Result, OUT UINTN *ResultSize) {
UINTN DigestSize;
CHAR8 ResultRaw[256];
Expand Down

0 comments on commit b64753b

Please # to comment.