summaryrefslogtreecommitdiffstats
path: root/lib/libskey/put.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-06-20 22:15:45 +0000
committermillert <millert@openbsd.org>2001-06-20 22:15:45 +0000
commitefbdeb53137098e1870bdbb6fe47b43468bae682 (patch)
tree2d1c26f5f5214c59927b992988346a9ef07603e0 /lib/libskey/put.c
parento Add a length parameter to struct skey and rearrange some other structs (diff)
downloadwireguard-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