This is a discussion on Re: Data corruption in multithreaded SSL application within the lucky.openbsd.tech forums, part of the OpenBSD category; --> Gabucino writes: > It seems libssl isn't compiled thread-safe in OpenBSD. At least its configure > doesn't know about ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Gabucino writes: > It seems libssl isn't compiled thread-safe in OpenBSD. At least its configure > doesn't know about a way to do so. This would explain my problem. Am I right? > If yes, any way to fix this? /usr/src/lib/libssl/src/crypto/threads contains multithread testing code for ssl. Build using the pthread2.sh script. If nothing else look at the code in mttest.c conditioned by PTHREADS. It will show you the proper way to use ssl in a threaded application. // marc |