[openssl-users] Lock for SSL_accept method

Yan, Bob BYan at visa.com
Thu Feb 8 00:43:22 UTC 2018


Hi All,

I used a mutex lock to prevent the SSL_accept() method being called by multiple thread concurrently since it may get coredump if there is no lock on SSL_accept() method. I am just wondering is the lock is still needed for openssl 1.0.2e version?

        mutex.lock();
        int rt = SSL_accept(SslSessionObject);
        mutex.unlock();

Thank you very much!
Bob


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20180208/9c64339d/attachment.html>


More information about the openssl-users mailing list