• Show log

    Commit

  • Hash : dd0b1e8c
    Author : Patrick Steinhardt
    Date : 2017-03-20T09:13:25

    openssl_stream: fix releasing OpenSSL locks
    
    The OpenSSL library may require multiple locks to work correctly, where
    it is the caller's responsibility to initialize and release the locks.
    While we correctly initialized up to `n` locks, as determined by
    `CRYPTO_num_locks`, we were repeatedly freeing the same mutex in our
    shutdown procedure.
    
    Fix the issue by freeing locks at the correct index.