diff options
Diffstat (limited to 'crypto/bio')
-rw-r--r-- | crypto/bio/bss_file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/bio/bss_file.c b/crypto/bio/bss_file.c index c4de51bfd4..f9b9383a8c 100644 --- a/crypto/bio/bss_file.c +++ b/crypto/bio/bss_file.c @@ -195,8 +195,7 @@ static int MS_CALLBACK file_read(BIO *b, char *out, int outl) else ret = fread(out, 1, (int)outl, (FILE *)b->ptr); if (ret == 0 - && (b-> - flags & BIO_FLAGS_UPLINK) ? UP_ferror((FILE *)b->ptr) : + && (b->flags & BIO_FLAGS_UPLINK) ? UP_ferror((FILE *)b->ptr) : ferror((FILE *)b->ptr)) { SYSerr(SYS_F_FREAD, get_last_sys_error()); BIOerr(BIO_F_FILE_READ, ERR_R_SYS_LIB); |