I don't know, it seems can't, because the SSL object is created by SSL_new() which dynamic allocated memory for the object,
If you view the file ssl.h, you will found the SSL structure definition, it is complex as it containing many object pointer, so I think it is very hard to manually allocate shared memory to create the SSL object.
But you can overwrite the OpenSSL memory handler. Create an new one that has an (thread specific) flag to indicate if the data should reside in the shared memory. Now every time you do SSL data, you set the flag and the SSL data will be allocated in the shared memory...
Bye
Goetz
-- DMCA: The greed of the few outweighs the freedom of the many
smime.p7s
Description: S/MIME Cryptographic Signature