mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Show failure in ssl-opts.sh when key export fails
1. When `ssl_server2` export key functionality fails, don't exit the server, but reset it, to have the server recover for next connection. 2. Add text filters for `export keys functionality` test in ssl-opt.sh to check for additional output, to verify if the export suceeded. This was discovered in the `ssl-opt.sh` script, where the server exited, before the test tried to kill the server priocess, resulting in a `kill: No such process` message. Fixes #2662 Signed-off-by: Ron Eldor <Ron.Eldor@arm.com>
This commit is contained in:
@ -3718,7 +3718,7 @@ handshake:
|
||||
{
|
||||
mbedtls_printf( " failed\n ! mbedtls_ssl_tls_prf returned -0x%x\n\n",
|
||||
(unsigned int) -ret );
|
||||
goto exit;
|
||||
goto reset;
|
||||
}
|
||||
|
||||
mbedtls_printf( " EAP-TLS key material is:" );
|
||||
@ -3739,7 +3739,7 @@ handshake:
|
||||
{
|
||||
mbedtls_printf( " failed\n ! mbedtls_ssl_tls_prf returned -0x%x\n\n",
|
||||
(unsigned int) -ret );
|
||||
goto exit;
|
||||
goto reset;
|
||||
}
|
||||
|
||||
mbedtls_printf( " EAP-TLS IV is:" );
|
||||
|
Reference in New Issue
Block a user