Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from hawkinswnaf/release-0.6.5.4
keyring_open_with_pins() is gone (plus Makefile spiff-up) - Still needs additional testing.
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148,7 +148,7 @@ print_data(const char *label, const uint8_t *data, size_t len) | |
static void | ||
mdp_checksum(uint8_t *data, const uint16_t data_len, uint8_t *hashbuf) | ||
{ | ||
unsigned long long signature_bytes = SIGNATURE_BYTES; | ||
int signature_bytes = SIGNATURE_BYTES; | ||
print_data("Key", servald_key, servald_key_len); | ||
print_data("Data", data, data_len); | ||
|
||
|
@@ -1079,13 +1079,12 @@ timeout_timestamps(void *foo __attribute__ ((unused))) | |
static int | ||
read_key_from_servald(const char *sid) | ||
{ | ||
const char *pins = {"",}; | ||
unsigned char stowedSid[SID_SIZE]; | ||
unsigned char *found_private_key = NULL; | ||
int found_private_key_len = 0; | ||
int cn = 0, in = 0, kp = 0; | ||
|
||
keyring = keyring_open_with_pins(pins); | ||
keyring = keyring_open_instance(); | ||
This comment has been minimized.
Sorry, something went wrong.
hawkinswnaf
Collaborator
|
||
stowSid(stowedSid, 0, sid); | ||
|
||
if (!keyring_find_sid(keyring, &cn, &in, &kp, stowedSid)) | ||
|
This might have to be reworked. Expect a pull request to fix this.