mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	ssl_server2: Add usage string for TLS 1.3 key exchange modes
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
		
							parent
							
								
									cfa4d4b3f5
								
							
						
					
					
						commit
						a9e4e6fd6f
					
				@ -433,6 +433,15 @@ int main( void )
 | 
			
		||||
#define USAGE_SERIALIZATION ""
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL)
 | 
			
		||||
#define USAGE_TLS13_KEY_EXCHANGE_MODES \
 | 
			
		||||
    "    tls13_kex_modes=%%s   default: all\n"     \
 | 
			
		||||
    "                          options: psk_pure, psk_ephemeral, ephemeral_pure, ephemeral_all, psk_all, all\n"
 | 
			
		||||
#else
 | 
			
		||||
#define USAGE_TLS13_KEY_EXCHANGE_MODES ""
 | 
			
		||||
#endif /* MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* USAGE is arbitrarily split to stay under the portable string literal
 | 
			
		||||
 * length limit: 4095 bytes in C99. */
 | 
			
		||||
#define USAGE1 \
 | 
			
		||||
@ -503,6 +512,7 @@ int main( void )
 | 
			
		||||
    "                        options: tls1_2, dtls1_2" TLS1_3_VERSION_OPTIONS \
 | 
			
		||||
    "\n\n"                                                                    \
 | 
			
		||||
    "    force_ciphersuite=<name>    default: all enabled\n"                  \
 | 
			
		||||
    USAGE_TLS13_KEY_EXCHANGE_MODES                                            \
 | 
			
		||||
    "    query_config=<name>         return 0 if the specified\n"             \
 | 
			
		||||
    "                                configuration macro is defined and 1\n"  \
 | 
			
		||||
    "                                otherwise. The expansion of the macro\n" \
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user