tls: Introduce a generic TLS purpose that accepts NULL encryption ciphers

This commit is contained in:
Martin Willi
2014-04-01 14:28:55 +02:00
parent ac5717c9e9
commit ddf5222096
4 changed files with 8 additions and 2 deletions
+3
View File
@@ -1846,6 +1846,9 @@ tls_crypto_t *tls_crypto_create(tls_t *tls, tls_cache_t *cache)
case TLS_PURPOSE_GENERIC:
build_cipher_suite_list(this, TRUE);
break;
case TLS_PURPOSE_GENERIC_NULLOK:
build_cipher_suite_list(this, FALSE);
break;
default:
break;
}