Lines Matching defs:force_ciphersuite
178 " the use of min_version to force TLS 1.2 and force_ciphersuite \n" \
453 " force_ciphersuite=<name> default: all enabled\n" \
495 int force_ciphersuite[2]; /* protocol/ciphersuite to use, or all */
944 opt.force_ciphersuite[0] = DFL_FORCE_CIPHER;
1161 } else if (strcmp(p, "force_ciphersuite") == 0) {
1162 opt.force_ciphersuite[0] = mbedtls_ssl_get_ciphersuite_id(q);
1164 if (opt.force_ciphersuite[0] == 0) {
1168 opt.force_ciphersuite[1] = 0;
1484 if (opt.force_ciphersuite[0] <= 0) {
1486 "opaque PSKs are only supported in conjunction with forcing TLS 1.2 and a PSK-only ciphersuite through the 'force_ciphersuite' option.\n");
1493 if (opt.force_ciphersuite[0] > 0) {
1496 mbedtls_ssl_ciphersuite_from_id(opt.force_ciphersuite[0]);
1935 if (opt.force_ciphersuite[0] != DFL_FORCE_CIPHER) {
1936 mbedtls_ssl_conf_ciphersuites(&conf, opt.force_ciphersuite);