START	lib/libssl/ssl	2025-03-24T01:23:06Z

==== regress-ssltest ====
cc -O2 -pipe  -DLIBRESSL_INTERNAL -Werror -I/usr/src/regress/lib/libssl/ssl/../../../../lib/libssl -g -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow  -MD -MP  -c /usr/src/regress/lib/libssl/ssl/ssltest.c
cc   -o ssltest ssltest.o -lcrypto -lssl
sh /usr/src/regress/lib/libssl/ssl/testssl  /usr/src/regress/lib/libssl/ssl/../certs/server1-rsa.pem /usr/src/regress/lib/libssl/ssl/../certs/server1-rsa-chain.pem  /usr/src/regress/lib/libssl/ssl/../certs/ca-root-rsa.pem
LibreSSL 4.1.0
test sslv2/sslv3
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
test sslv2/sslv3 with server authentication
server authentication
In app_verify_callback, allowing cert. Arg is: Test Callback Argument
Finished printing do we have a context? 0x0x3930427ef00 a cert? 0x0x3930425c700
cert depth=0 /CN=LibreSSL Test Server 1 RSA
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
test sslv2/sslv3 with client authentication
client authentication
In app_verify_callback, allowing cert. Arg is: Test Callback Argument
Finished printing do we have a context? 0x0x9373feef480 a cert? 0x0x936ba4000e0
cert depth=0 /CN=LibreSSL Test Server 1 RSA
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
test sslv2/sslv3 with both client and server authentication
client authentication
server authentication
In app_verify_callback, allowing cert. Arg is: Test Callback Argument
Finished printing do we have a context? 0x0xee67d4c6c00 a cert? 0x0xee65c9c4380
cert depth=0 /CN=LibreSSL Test Server 1 RSA
In app_verify_callback, allowing cert. Arg is: Test Callback Argument
Finished printing do we have a context? 0x0xee65c9d0300 a cert? 0x0xee61f68a2a0
cert depth=0 /CN=LibreSSL Test Server 1 RSA
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
test sslv2/sslv3 via BIO pair
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
test sslv2/sslv3 w/o (EC)DHE via BIO pair
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
test sslv2/sslv3 with 1024bit DHE via BIO pair
DONE: TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
test sslv2/sslv3 with server authentication
server authentication
In app_verify_callback, allowing cert. Arg is: Test Callback Argument
Finished printing do we have a context? 0x0x3a17dac2480 a cert? 0x0x3a17daba1c0
cert depth=0 /CN=LibreSSL Test Server 1 RSA
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
test sslv2/sslv3 with client authentication via BIO pair
client authentication
In app_verify_callback, allowing cert. Arg is: Test Callback Argument
Finished printing do we have a context? 0x0xff0fee86000 a cert? 0x0xff0feec09a0
cert depth=0 /CN=LibreSSL Test Server 1 RSA
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
test sslv2/sslv3 with both client and server authentication via BIO pair
client authentication
server authentication
In app_verify_callback, allowing cert. Arg is: Test Callback Argument
Finished printing do we have a context? 0x0xa4552ec1180 a cert? 0x0xa454771fee0
cert depth=0 /CN=LibreSSL Test Server 1 RSA
In app_verify_callback, allowing cert. Arg is: Test Callback Argument
Finished printing do we have a context? 0x0xa457a653a80 a cert? 0x0xa45476ecd20
cert depth=0 /CN=LibreSSL Test Server 1 RSA
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
test sslv2/sslv3 with both client and server authentication via BIO pair and app verify
client authentication
server authentication
In app_verify_callback, allowing cert. Arg is: Test Callback Argument
Finished printing do we have a context? 0x0x2e2ab493780 a cert? 0x0x2e251e060e0
cert depth=0 /CN=LibreSSL Test Server 1 RSA
In app_verify_callback, allowing cert. Arg is: Test Callback Argument
Finished printing do we have a context? 0x0x2e2ab493180 a cert? 0x0x2e2ab4927e0
cert depth=0 /CN=LibreSSL Test Server 1 RSA
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
Testing ciphersuites
Testing ciphersuites for SSLv3
Testing ECDHE-RSA-AES256-SHA
TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing DHE-RSA-AES256-SHA
TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing DHE-RSA-CAMELLIA256-SHA
TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-CAMELLIA256-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing AES256-SHA
TLSv1.2, cipher TLSv1/SSLv3 AES256-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing CAMELLIA256-SHA
TLSv1.2, cipher TLSv1/SSLv3 CAMELLIA256-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing ECDHE-RSA-AES128-SHA
TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES128-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing DHE-RSA-AES128-SHA
TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES128-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing DHE-RSA-CAMELLIA128-SHA
TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-CAMELLIA128-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing AES128-SHA
TLSv1.2, cipher TLSv1/SSLv3 AES128-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing CAMELLIA128-SHA
TLSv1.2, cipher TLSv1/SSLv3 CAMELLIA128-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing ECDHE-RSA-RC4-SHA
TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-RC4-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing RC4-SHA
TLSv1.2, cipher TLSv1/SSLv3 RC4-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing RC4-MD5
TLSv1.2, cipher TLSv1/SSLv3 RC4-MD5, 2048 bit RSA
1 handshakes of 256 bytes done
Testing ECDHE-RSA-DES-CBC3-SHA
TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-DES-CBC3-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing EDH-RSA-DES-CBC3-SHA
TLSv1.2, cipher TLSv1/SSLv3 EDH-RSA-DES-CBC3-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing DES-CBC3-SHA
TLSv1.2, cipher TLSv1/SSLv3 DES-CBC3-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing ECDHE-RSA-NULL-SHA
TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-NULL-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing NULL-SHA
TLSv1.2, cipher TLSv1/SSLv3 NULL-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing NULL-MD5
TLSv1.2, cipher TLSv1/SSLv3 NULL-MD5, 2048 bit RSA
1 handshakes of 256 bytes done
Testing ciphersuites for TLSv1.2
Testing ECDHE-RSA-AES256-GCM-SHA384
TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
Testing ECDHE-RSA-AES256-SHA384
TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
Testing DHE-RSA-AES256-GCM-SHA384
TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
Testing DHE-RSA-AES256-SHA256
TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA256, 2048 bit RSA
1 handshakes of 256 bytes done
Testing ECDHE-RSA-CHACHA20-POLY1305
TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-CHACHA20-POLY1305, 2048 bit RSA
1 handshakes of 256 bytes done
Testing DHE-RSA-CHACHA20-POLY1305
TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-CHACHA20-POLY1305, 2048 bit RSA
1 handshakes of 256 bytes done
Testing DHE-RSA-CAMELLIA256-SHA256
TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-CAMELLIA256-SHA256, 2048 bit RSA
1 handshakes of 256 bytes done
Testing AES256-GCM-SHA384
TLSv1.2, cipher TLSv1/SSLv3 AES256-GCM-SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
Testing AES256-SHA256
TLSv1.2, cipher TLSv1/SSLv3 AES256-SHA256, 2048 bit RSA
1 handshakes of 256 bytes done
Testing CAMELLIA256-SHA256
TLSv1.2, cipher TLSv1/SSLv3 CAMELLIA256-SHA256, 2048 bit RSA
1 handshakes of 256 bytes done
Testing ECDHE-RSA-AES128-GCM-SHA256
TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES128-GCM-SHA256, 2048 bit RSA
1 handshakes of 256 bytes done
Testing ECDHE-RSA-AES128-SHA256
TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES128-SHA256, 2048 bit RSA
1 handshakes of 256 bytes done
Testing DHE-RSA-AES128-GCM-SHA256
TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES128-GCM-SHA256, 2048 bit RSA
1 handshakes of 256 bytes done
Testing DHE-RSA-AES128-SHA256
TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES128-SHA256, 2048 bit RSA
1 handshakes of 256 bytes done
Testing DHE-RSA-CAMELLIA128-SHA256
TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-CAMELLIA128-SHA256, 2048 bit RSA
1 handshakes of 256 bytes done
Testing AES128-GCM-SHA256
TLSv1.2, cipher TLSv1/SSLv3 AES128-GCM-SHA256, 2048 bit RSA
1 handshakes of 256 bytes done
Testing AES128-SHA256
TLSv1.2, cipher TLSv1/SSLv3 AES128-SHA256, 2048 bit RSA
1 handshakes of 256 bytes done
Testing CAMELLIA128-SHA256
TLSv1.2, cipher TLSv1/SSLv3 CAMELLIA128-SHA256, 2048 bit RSA
1 handshakes of 256 bytes done
Testing NULL-SHA256
TLSv1.2, cipher TLSv1/SSLv3 NULL-SHA256, 2048 bit RSA
1 handshakes of 256 bytes done
Testing ciphersuites for TLSv1.3 at security level 2
Testing TLS_AES_256_GCM_SHA384
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
Testing TLS_CHACHA20_POLY1305_SHA256
TLSv1.3, cipher TLSv1/SSLv3 TLS_CHACHA20_POLY1305_SHA256, 2048 bit RSA
1 handshakes of 256 bytes done
Testing TLS_AES_128_GCM_SHA256
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_128_GCM_SHA256, 2048 bit RSA
1 handshakes of 256 bytes done
Testing ciphersuites for TLSv1.3 at security level 3
Testing TLS_AES_256_GCM_SHA384
8381814128136:error:14FFF18A:SSL routines:(UNKNOWN)SSL_internal:dh key too small:/usr/src/lib/libssl/s3_lib.c:1946:
8381814128136:error:14FFF18F:SSL routines:(UNKNOWN)SSL_internal:ee key too small:/usr/src/lib/libssl/ssl_rsa.c:394:
ERROR in SERVER
8381814128136:error:14FFF0A8:SSL routines:(UNKNOWN)SSL_internal:missing rsa certificate:/usr/src/lib/libssl/tls13_server.c:649:
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384
1 handshakes of 256 bytes done
Testing TLS_CHACHA20_POLY1305_SHA256
11969639763464:error:14FFF18A:SSL routines:(UNKNOWN)SSL_internal:dh key too small:/usr/src/lib/libssl/s3_lib.c:1946:
11969639763464:error:14FFF18F:SSL routines:(UNKNOWN)SSL_internal:ee key too small:/usr/src/lib/libssl/ssl_rsa.c:394:
ERROR in SERVER
11969639763464:error:14FFF0A8:SSL routines:(UNKNOWN)SSL_internal:missing rsa certificate:/usr/src/lib/libssl/tls13_server.c:649:
TLSv1.3, cipher TLSv1/SSLv3 TLS_CHACHA20_POLY1305_SHA256
1 handshakes of 256 bytes done
Testing TLS_AES_128_GCM_SHA256
8873214856712:error:14FFF18A:SSL routines:(UNKNOWN)SSL_internal:dh key too small:/usr/src/lib/libssl/s3_lib.c:1946:
8873214856712:error:14FFF18F:SSL routines:(UNKNOWN)SSL_internal:ee key too small:/usr/src/lib/libssl/ssl_rsa.c:394:
ERROR in SERVER
8873214856712:error:14FFF0A8:SSL routines:(UNKNOWN)SSL_internal:missing rsa certificate:/usr/src/lib/libssl/tls13_server.c:649:
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_128_GCM_SHA256
1 handshakes of 256 bytes done
dh
skipping tls1 tests.
DTLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
test dtlsv1_2 with server authentication
server authentication
In app_verify_callback, allowing cert. Arg is: Test Callback Argument
Finished printing do we have a context? 0x0x880f8363c0 a cert? 0x0x886c404620
cert depth=0 /CN=LibreSSL Test Server 1 RSA
DTLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
test dtlsv1_2 with client authentication
client authentication
In app_verify_callback, allowing cert. Arg is: Test Callback Argument
Finished printing do we have a context? 0x0x9d0bf6ecc0 a cert? 0x0x9d7099dd20
cert depth=0 /CN=LibreSSL Test Server 1 RSA
DTLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
test dtlsv1_2 with both client and server authentication
client authentication
server authentication
In app_verify_callback, allowing cert. Arg is: Test Callback Argument
Finished printing do we have a context? 0x0xc292a2090c0 a cert? 0x0xc291cdf5c40
cert depth=0 /CN=LibreSSL Test Server 1 RSA
In app_verify_callback, allowing cert. Arg is: Test Callback Argument
Finished printing do we have a context? 0x0xc292a206600 a cert? 0x0xc284abd1e00
cert depth=0 /CN=LibreSSL Test Server 1 RSA
DTLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
Testing DTLS ciphersuites
Testing ciphersuites for SSLv3
Testing AES256-SHA
DTLSv1.2, cipher TLSv1/SSLv3 AES256-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing CAMELLIA256-SHA
DTLSv1.2, cipher TLSv1/SSLv3 CAMELLIA256-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing AES128-SHA
DTLSv1.2, cipher TLSv1/SSLv3 AES128-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing CAMELLIA128-SHA
DTLSv1.2, cipher TLSv1/SSLv3 CAMELLIA128-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing DES-CBC3-SHA
DTLSv1.2, cipher TLSv1/SSLv3 DES-CBC3-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing NULL-SHA
DTLSv1.2, cipher TLSv1/SSLv3 NULL-SHA, 2048 bit RSA
1 handshakes of 256 bytes done
Testing NULL-MD5
DTLSv1.2, cipher TLSv1/SSLv3 NULL-MD5, 2048 bit RSA
1 handshakes of 256 bytes done
Testing ALPN...
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
TLSv1.3, cipher TLSv1/SSLv3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
1 handshakes of 256 bytes done

PASS	lib/libssl/ssl	Duration 0m02.11s