• Show log

    Commit

  • Hash : 4734c52a
    Author : Christian Schlack
    Date : 2016-04-26T18:04:03

    Fix return value of openssl_read (infinite loop)
    
    openssl_read should return -1 in case of error.
    
    SSL_read returns values <= 0 in case of error.
    
    A return value of 0 can lead to an infinite loop, so the return value
    of ssl_set_error will be returned if SSL_read is not successful (analog
    to openssl_write).