1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Make cipher used in ssl tickets configurable

This commit is contained in:
Manuel Pégourié-Gonnard
2015-05-25 10:35:16 +02:00
parent 1041a39338
commit a0adc1bbe4
3 changed files with 27 additions and 3 deletions

View File

@ -1598,6 +1598,7 @@ int main( int argc, char *argv[] )
{
if( ( ret = mbedtls_ssl_ticket_setup( &ticket_ctx,
mbedtls_ctr_drbg_random, &ctr_drbg,
MBEDTLS_CIPHER_AES_256_GCM,
opt.ticket_timeout ) ) != 0 )
{
mbedtls_printf( " failed\n ! mbedtls_ssl_ticket_setup returned %d\n\n", ret );