Closed quarckster closed 2 months ago
SSL_connect() failed -1, 13012954944:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52:
That looks like an answer
I think we should close it as won't fix or not-a-bug. 500 threads can eat significant amount of memory system must reserve. 500 threads creats more stress to OS (especially 32-bit OS) itself than to OpenSSL library.
I think if you want to use 500 threads you need to make sure your OS (and HW) is able to handle it.
I'm closing the issue. If anyone disagrees, then feel free to re-open.
I observed failing of
handshake
benchmark ondebian-x86
,macos-x86_64
andmacos-m1
platforms whenthread count
argument is set to500
. It seems it starts failing after some thread count threshold. I builtperftools
againstOpenSSL_1_1_1-stable
. I also tested it againstmaster
branch of openssl and the issue is still observed ondebian-x86
. MacOS is not affected on opensslmaster
.debian-x86
``` $HOME/perftools-OpenSSL_1_1_1-stable/source/handshake -t -s $HOME/OpenSSL_1_1_1-stable/test/certs 500 Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair SSL_connect() failed -1, 13012954944:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 3012954944:error:1424F044:SSL routines:tls13_generate_secret:internal error:../ssl/tls13_enc.c:183: SSL_accept() failed -1, 13012954944:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_accept() failed -1, 12610105152:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12610105152:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_accept() failed -1, 12610105152:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_accept() failed -1, 12970991424:error:2006C046:BIO routines:BIO_new:init fail:../crypto/bio/bio_lib.c:95: 2970991424:error:140B8007:SSL routines:ssl_init_wbio_buffer:passed invalid argument:../ssl/ssl_lib.c:4044: 2970991424:error:14161044:SSL routines:state_machine:internal error:../ssl/statem/statem.c:412: SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 12920635200:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12920635200:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_connect() failed -1, 12853493568:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2853493568:error:14160100:SSL routines:read_state_machine:missing fatal:../ssl/statem/statem.c:643: SSL_accept() failed -1, 12853493568:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_connect() failed -1, 12769566528:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2769566528:error:14160100:SSL routines:read_state_machine:missing fatal:../ssl/statem/statem.c:643: SSL_accept() failed -1, 12769566528:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_connect() failed -1, 12752781120:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2752781120:error:14160100:SSL routines:read_state_machine:missing fatal:../ssl/statem/statem.c:643: SSL_accept() failed -1, 12752781120:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_accept() failed -1, 1SSL_connect() failed -1, 12727603008:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2727603008:error:14160100:SSL routines:read_state_machine:missing fatal:../ssl/statem/statem.c:643: SSL_accept() failed -1, 12727603008:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_connect() failed -1, 12719210304:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2719210304:error:1424F044:SSL routines:tls13_generate_secret:internal error:../ssl/tls13_enc.c:183: SSL_accept() failed -1, 12719210304:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_connect() failed -1, 12702424896:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2702424896:error:1424F044:SSL routines:tls13_generate_secret:internal error:../ssl/tls13_enc.c:183: SSL_accept() failed -1, 12702424896:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_connect() failed -1, 12685639488:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2685639488:error:14160100:SSL routines:read_state_machine:missing fatal:../ssl/statem/statem.c:643: SSL_accept() failed -1, 12685639488:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_connect() failed -1, 12668854080:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2668854080:error:1424F044:SSL routines:tls13_generate_secret:internal error:../ssl/tls13_enc.c:183: SSL_accept() failed -1, 12668854080:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_connect() failed -1, 12652068672:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2652068672:error:1424F044:SSL routines:tls13_generate_secret:internal error:../ssl/tls13_enc.c:183: SSL_accept() failed -1, 12652068672:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_connect() failed -1, 12635283264:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2635283264:error:14160100:SSL routines:read_state_machine:missing fatal:../ssl/statem/statem.c:643: SSL_accept() failed -1, 12635283264:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_connect() failed -1, 12626890560:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2626890560:error:1424F044:SSL routines:tls13_generate_secret:internal error:../ssl/tls13_enc.c:183: SSL_accept() failed -1, 12626890560:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_connect() failed -1, 12618497856:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2618497856:error:14160100:SSL routines:read_state_machine:missing fatal:../ssl/statem/statem.c:643: SSL_accept() failed -1, 12618497856:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_connect() failed -1, 12593319744:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2593319744:error:14160100:SSL routines:read_state_machine:missing fatal:../ssl/statem/statem.c:643: SSL_accept() failed -1, 12593319744:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_connect() failed -1, 12576534336:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2576534336:error:1424F044:SSL routines:tls13_generate_secret:internal error:../ssl/tls13_enc.c:183: SSL_accept() failed -1, 12576534336:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_connect() failed -1, 12559748928:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2559748928:error:14160100:SSL routines:read_state_machine:missing fatal:../ssl/statem/statem.c:643: SSL_accept() failed -1, 12559748928:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_connect() failed -1, 12542963520:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2542963520:error:1424F044:SSL routines:tls13_generate_secret:internal error:../ssl/tls13_enc.c:183: SSL_accept() failed -1, 12542963520:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_connect() failed -1, 12526178112:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2526178112:error:1424F044:SSL routines:tls13_generate_secret:internal error:../ssl/tls13_enc.c:183: SSL_accept() failed -1, 12526178112:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_connect() failed -1, 12509392704:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2509392704:error:14160100:SSL routines:read_state_machine:missing fatal:../ssl/statem/statem.c:643: SSL_accept() failed -1, 12509392704:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_connect() failed -1, 12962598720:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2962598720:error:1424F044:SSL routines:tls13_generate_secret:internal error:../ssl/tls13_enc.c:183: SSL_accept() failed -1, 12962598720:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 13054918464:error:2006C046:BIO routines:BIO_new:init fail:../crypto/bio/bio_lib.c:95: 3054918464:error:140B8007:SSL routines:ssl_init_wbio_buffer:passed invalid argument:../ssl/ssl_lib.c:4044: 3054918464:error:14161044:SSL routines:state_machine:internal error:../ssl/statem/statem.c:412: SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 1SSL_accept() failed -1, 12937420608:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12937420608:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2929027904:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12929027904:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 3038133056:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 13038133056:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2912242496:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12912242496:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2895457088:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12895457088:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2861886272:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12861886272:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2836708160:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12836708160:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2811530048:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12811530048:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2803137344:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12803137344:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2677246784:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12677246784:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2601712448:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12601712448:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2534570816:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12534570816:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2551356224:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12551356224:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2979384128:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12979384128:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2987776832:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12987776832:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_connect() failed -1, 12610105152:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2954206016:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12954206016:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2845100864:error:3406C041:KDF routines:pkey_hkdf_init:malloc failure:../crypto/kdf/hkdf.c:52: 2845100864:error:1424A100:SSL routines:write_state_machine:missing fatal:../ssl/statem/statem.c:873: 2819922752:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12819922752:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2828315456:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12828315456:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 3046525760:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 13046525760:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2786351936:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12786351936:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2777959232:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12777959232:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2735995712:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12735995712:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 3029740352:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 13029740352:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2996169536:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12996169536:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2903849792:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12903849792:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2878671680:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12878671680:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 2870278976:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12870278976:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_accept() failed -1, 12937420608:error:1409C041:SSL routines:ssl3_setup_read_buffer:malloc failure:../ssl/record/ssl3_buffer.c:69: 2937420608:error:14161044:SSL routines:state_machine:internal error:../ssl/statem/statem.c:393: SSL_accept() failed -1, 12811530048:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12811530048:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_accept() failed -1, 12811530048:error:14123041:SSL routines:ssl3_setup_write_buffer:malloc failure:../ssl/record/ssl3_buffer.c:132: 2811530048:error:14161044:SSL routines:state_machine:internal error:../ssl/statem/statem.c:393: SSL_accept() failed -1, 12761173824:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12761173824:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 SSL_accept() failed -1, 12945813312:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:../ssl/statem/statem_lib.c:308: SSL_connect() failed -1, 12945813312:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_s3.c:1562:SSL alert number 80 No progress madeNo progress madeNo progress madeNo progress madeNo progress made67097.106900 ```macos x86_64
``` DYLD_LIBRARY_PATH=$HOME/OpenSSL_1_1_1-stable/ ./handshake -t -s $HOME/OpenSSL_1_1_1-stable/test/certs 500 Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair Failed to create SSL_CTX pair 252208.418800 ```