2022-08-27 21:11:30 +00:00
|
|
|
Fix a compile problem introduced in commit 331c3421d1f0 ("Address review comments")
|
|
|
|
|
|
|
|
Bug report: https://github.com/Mbed-TLS/mbedtls/issues/6243
|
|
|
|
|
|
|
|
--- a/programs/ssl/ssl_server2.c
|
|
|
|
+++ b/programs/ssl/ssl_server2.c
|
2022-12-29 20:26:28 +00:00
|
|
|
@@ -2529,7 +2529,6 @@ int main( int argc, char *argv[] )
|
2022-08-27 21:11:30 +00:00
|
|
|
}
|
|
|
|
key_cert_init2 = 2;
|
|
|
|
#endif /* MBEDTLS_ECDSA_C */
|
|
|
|
- }
|
|
|
|
|
|
|
|
#if defined(MBEDTLS_USE_PSA_CRYPTO)
|
|
|
|
if( opt.key_opaque != 0 )
|
2022-12-29 20:26:28 +00:00
|
|
|
@@ -2558,6 +2557,7 @@ int main( int argc, char *argv[] )
|
2022-08-27 21:11:30 +00:00
|
|
|
}
|
|
|
|
#endif /* MBEDTLS_USE_PSA_CRYPTO */
|
|
|
|
#endif /* MBEDTLS_CERTS_C */
|
|
|
|
+ }
|
|
|
|
|
|
|
|
mbedtls_printf( " ok (key types: %s - %s)\n", mbedtls_pk_get_name( &pkey ), mbedtls_pk_get_name( &pkey2 ) );
|
2022-12-29 20:26:28 +00:00
|
|
|
#endif /* MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED */
|