commit | 44adb8fed9214d209eb8d7d47d5adb053c69f190 | [log] [download] |
---|---|---|
author | Ben Lindstrom <mouring@eviladmin.org> | Mon Dec 23 02:00:23 2002 +0000 |
committer | Ben Lindstrom <mouring@eviladmin.org> | Mon Dec 23 02:00:23 2002 +0000 |
tree | 16ca85f439875b40ccd936e4e943817cb901894a | |
parent | ab1c12a11c0c05223405a814d39281b5b0b9b712 [diff] |
- fgsch@cvs.openbsd.org 2002/11/15 10:03:09 [authfile.c] lseek(2) may return -1 when getting the public/private key lenght. Simplify the code and check for errors using fstat(2). Problem reported by Mauricio Sanchez, markus@ ok.