Home
last modified time | relevance | path

Searched refs:force_ciphersuite (Results 1 – 3 of 3) sorted by relevance

/net-tools-3.6.0/mbedtls-2.4.0/programs/ssl/
Dssl_mail_client.c154 int force_ciphersuite[2]; /* protocol/ciphersuite to use, or all */ member
409 opt.force_ciphersuite[0]= DFL_FORCE_CIPHER; in main()
456 opt.force_ciphersuite[0] = -1; in main()
458 opt.force_ciphersuite[0] = mbedtls_ssl_get_ciphersuite_id( q ); in main()
460 if( opt.force_ciphersuite[0] <= 0 ) in main()
463 opt.force_ciphersuite[1] = 0; in main()
602 if( opt.force_ciphersuite[0] != DFL_FORCE_CIPHER ) in main()
603 mbedtls_ssl_conf_ciphersuites( &conf, opt.force_ciphersuite ); in main()
Dssl_client2.c295 int force_ciphersuite[2]; /* protocol/ciphersuite to use, or all */ member
486 opt.force_ciphersuite[0]= DFL_FORCE_CIPHER; in main()
578 opt.force_ciphersuite[0] = mbedtls_ssl_get_ciphersuite_id( q ); in main()
580 if( opt.force_ciphersuite[0] == 0 ) in main()
585 opt.force_ciphersuite[1] = 0; in main()
808 if( opt.force_ciphersuite[0] > 0 ) in main()
811 ciphersuite_info = mbedtls_ssl_ciphersuite_from_id( opt.force_ciphersuite[0] ); in main()
1157 if( opt.force_ciphersuite[0] != DFL_FORCE_CIPHER ) in main()
1158 mbedtls_ssl_conf_ciphersuites( &conf, opt.force_ciphersuite ); in main()
Dssl_server2.c374 int force_ciphersuite[2]; /* protocol/ciphersuite to use, or all */ member
917 opt.force_ciphersuite[0]= DFL_FORCE_CIPHER; in main()
1006 opt.force_ciphersuite[0] = mbedtls_ssl_get_ciphersuite_id( q ); in main()
1008 if( opt.force_ciphersuite[0] == 0 ) in main()
1013 opt.force_ciphersuite[1] = 0; in main()
1243 if( opt.force_ciphersuite[0] > 0 ) in main()
1246 ciphersuite_info = mbedtls_ssl_ciphersuite_from_id( opt.force_ciphersuite[0] ); in main()
1726 if( opt.force_ciphersuite[0] != DFL_FORCE_CIPHER ) in main()
1727 mbedtls_ssl_conf_ciphersuites( &conf, opt.force_ciphersuite ); in main()