Hi there, I have some problems with concurrent access to a EVP_PKEY*.
My intention: My application uses one EVP_PKEY* from several threads at the same time in order to generate several md-signatures at once. I had a deeper look into openssl's sources and actually it should be locked. Here's a absolutely minimal reconstruction of my problem: [1] You have a 50% chance, that this application will segfault. Additionally it seems to be a Heisenbug as it does not segfault when being debugged In my case, I always used ECDSA private keys. (This application actually makes no sense, but it's the minimal reconstruction of my problem) Why does it segfault? What am I doing wrong? My quick 'n dirty fix was to serialize access to the EVP_PKEY* but this makes my application damn slow.... And there's no EVP_PKEY_dup() function... [1] http://pastebin.com/4zPaUEp7 Thanks in advance! Ralf ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org