Skip to content

Commit

Permalink
keyring_open_with_pins() is gone
Browse files Browse the repository at this point in the history
Replace it with a call to
keyring_open_instance() which does
almost exactly the same thing!
  • Loading branch information
hawkinswnaf committed Aug 26, 2013
1 parent 5a317c0 commit a624a46
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/mdp/src/olsrd_mdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
stowSid(stowedSid, 0, sid);

if (!keyring_find_sid(keyring, &cn, &in, &kp, stowedSid))
Expand Down

0 comments on commit a624a46

Please sign in to comment.