I am having the same problem with SSL_accept(). Does anyone have a suggestion?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Martin Persson Sent: Thursday, April 14, 2005 3:18 AM To: [email protected] Subject: Using SSL with existing socket Hello, I'm trying to port a library (libiksemel) that currently uses GnuTLS to OpenSSL. This can be don't very easily if I may connect an existing socket to a TLS/SSL object and then do read/write on it like usual. However, I have failed to do this successfully. SSL_connect usually fails with a message related to "DH lib", error code 5. I've tried associating a socket to both BIO and SSL objects using "new_socket" and "set_fd" groups of commands, but none have worked out. I don't have enough knowledge about the operation of BIO objects I guess. Can anyone give me some advice as how to set up SSL on a socket connected outside of the OpenSSL suite, or some enlightenment on how to link BIO's together? Thanks for your time Martin Persson Sweden xarragon 'magic-symbol' gmail.com ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED] NO RELIANCE: This e-mail will be of no force of effect and will not be binding unless a hard copy of this e-mail, signed by an authorized official of the company, has been sent to the recipient of this message. CONFIDENTIAL AND/OR PROPRIETARY: Information contained in this transmission is intended for the use of the individual or entity named above and may contain legally proprietary or confidential information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copy of this communication is strictly prohibited. If you have received this communication in error, please permanently delete this message and immediately notify us by telephone at 972-377-1110. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
