Hi, I'm doing a port of a little OpenSSL program to FreeBSD from linux, but the code which works fine on linux fails on FreeBSD at SSL_connect(). This function allways returns with -1 and SSL_errno is 1.
The code creates the CTX in client mode successfully, reads the client certificates, sets session id, sets session, sets the file descriptor, and connect state. Until this point there is no error/warnin. But SSL_connect(). I examined the stunnel source which do the same, but that code works, mine not :/ Compiler options: CFLAGS -fomit-frame-pointer -fpcc-struct-return -O2 -D_REENTRANT \ -D_POSIX_PTHREADS_SEMANTICS LDFLAGS -lc_r -lcrypto -pthread -lssl -fomit-frame-pointer -fpcc-struct-return -O2 OpenSSL version: 0.9.5a What do i wrong? :o TiTaNiC -- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message