diff options
author | halex <> | 2015-03-22 22:32:03 +0000 |
---|---|---|
committer | halex <> | 2015-03-22 22:32:03 +0000 |
commit | c89070fe7b65c3f3a8a5c693ce3298a9598d1c02 (patch) | |
tree | 2b4bd16eea1f4ceb5c2f56f495cf05e0e96227dd /src/lib/libssl/bs_cbs.c | |
parent | 079b2af2236fbfabba4c0991950439ac5ff395ac (diff) | |
download | openbsd-c89070fe7b65c3f3a8a5c693ce3298a9598d1c02.tar.gz openbsd-c89070fe7b65c3f3a8a5c693ce3298a9598d1c02.tar.bz2 openbsd-c89070fe7b65c3f3a8a5c693ce3298a9598d1c02.zip |
differentiate between a failed read, returning -1, and encountering
end-of-file, returning 0, in order not to print an unrelated
strerror(errno) in the latter case
ok millert@
Diffstat (limited to 'src/lib/libssl/bs_cbs.c')
0 files changed, 0 insertions, 0 deletions