diff options
author | 2001-06-20 22:15:45 +0000 | |
---|---|---|
committer | 2001-06-20 22:15:45 +0000 | |
commit | efbdeb53137098e1870bdbb6fe47b43468bae682 (patch) | |
tree | 2d1c26f5f5214c59927b992988346a9ef07603e0 /lib/libskey/put.c | |
parent | o Add a length parameter to struct skey and rearrange some other structs (diff) | |
download | wireguard-openbsd-efbdeb53137098e1870bdbb6fe47b43468bae682.tar.xz wireguard-openbsd-efbdeb53137098e1870bdbb6fe47b43468bae682.zip |
o Do per-record locking instead of whole file locking
o Use said locking to prevent a partial guess race as required by
RFC 2289. We now lock the record in skeylookup(), skeygetnext(),
and skeyverify().
o A little KNF
o Kill deprecated getskeyprompt() function
o Provide a function to unlock a record, skey_unlock()
o Timeout reading of the passphrase in skey_authenticate() and
skey_passcheck() since we have the record locked (uses select, not alarm).
o Convert old-style md4 entries (that lack an explicit hash) into
new-style ones with the hash specified if there is space on the line.
Diffstat (limited to 'lib/libskey/put.c')
0 files changed, 0 insertions, 0 deletions