• D
    Encryption BIOs misbehave when used with non blocking I/O. · b8dc9693
    Dr. Stephen Henson 提交于
    Two fixes:
    
    1. If BIO_write() fails inside enc_write() it should return the
       total number of bytes successfully written.
    
    2. If BIO_write() fails during BIO_flush() it should return immediately
       with the error code: previously it would fall through to the final
       encrypt, corrupting the buffer.
    b8dc9693
bio_enc.c 10.4 KB