Unix Technical Forum

Re: Data corruption in multithreaded SSL application

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > lucky.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-22-2008, 12:15 PM
Marco S Hyman
 
Posts: n/a
Default Re: Data corruption in multithreaded SSL application

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:24 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com