openssl-master is compiled using latest a41a612 and enabling tls_1_3
openssl-1.0.2 is compiled using stable 1.0.2g
Handshake is ok with negociated ECDHE-RSA-AES256-GCM-SHA384:
./openssl-master s_server -cert crt.pem -key key.pem -port 4443
./openssl-1.0.2 s_client -connect 127.0.0.1:4443
Handshake failed forcing the cipher:
./openssl-master s_server -cert crt.pem -key key.pem -port 4443 -cipher ECDHE-RSA-AES256-GCM-SHA384
./openssl-1.0.2 s_client -connect 127.0.0.1:4443
....
CONNECTED(00000003)
140008127227544:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:794:
Handshake is ok forcing -no_tls1_3 on server side:
./openssl-master s_server -cert crt.pem -key key.pem -port 4443 -cipher ECDHE-RSA-AES256-GCM-SHA384 -no_tls1_3
./openssl-1.0.2 s_client -connect 127.0.0.1:4443