On Mon, Nov 27, 2006, Torsten Curdt wrote: > >> ssl_err = SSL_connect(hr->ssl); > >> if (ssl_err < 0) > >> { > >> error_printf("Hard error %d on SSL_connect for fd %d\n", > >> ssl_err, event->fd); > >> > >> I always get a -1 return code and the password callback is not getting > >> called at all > >Add ERR_print_errors_fp(stderr); to get more information. > > I've added that after the SSL_connect call but I don't see any further > information getting printed. > > Ideas? >
You are assuming that a -1 return code is an error. This is not necessarily the case. See the manual pages for more details. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]