Hey, I'm trying to find out whether this is a bug or something changed in version 1.0.0 in such a way that previous correct workflows to write openssl servers are not valid anymore, at least on Linux.
Basically, what one has to do to reproduce the bug is to build the example in the source archive: openssl-1.0.0/demos/bio. It used to work, but it doesn't anymore. If someone is interested in a quick howto for reproducing it, to test on their machine, here it is: - make sure you have version 1.0.0 installed on your system, in case you don't want to build the whole source - download the source http://www.openssl.org/source/openssl-1.0.0.tar.gz - extract (the directory will be called 'openssl-1.0.0') - cd into openssl-1.0.0/demos/bio - optionally edit the 'Makefile' to use your installed libraries, unless you intend to build the whole source (case in which you should just add "-ldl" to "LIBS" on Linux): replace "CFLAGS= -g -I../../include" with "CFLAGS= -g -I/usr/include" replace "LIBS= -L../.. ../../libssl.a ../../libcrypto.a" with "LIBS= -lssl -lcrypto" - type 'make' - two little binaries are built, 'sconnect' and 'saccept' - (possibly, you need to have port 4433 open, this is used in the source code of the examples) - in one terminal instance type './saccept', in the other './sconnect' - the client, 'sconnect' fails with this error or similar: 140203538757288:error:0200206F:system library:connect:Connection refused:bss_conn.c:286:host=localhost:4433 140203538757288:error:2007306E:BIO routines:CONN_STATE:nbio connect error:bss_conn.c:290: 140203538757288:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:184: Regards, Mihai ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org