Add initial DTLS tests.
Change-Id: I7407261bdb2d788c879f2e67e617a615d9ff8f8b
Reviewed-on: https://boringssl-review.googlesource.com/1505
Reviewed-by: Adam Langley <agl@google.com>
diff --git a/ssl/test/test_config.cc b/ssl/test/test_config.cc
index b25f7e6..9716227 100644
--- a/ssl/test/test_config.cc
+++ b/ssl/test/test_config.cc
@@ -34,6 +34,7 @@
const BoolFlag kBoolFlags[] = {
{ "-server", &TestConfig::is_server },
+ { "-dtls", &TestConfig::is_dtls },
{ "-resume", &TestConfig::resume },
{ "-fallback-scsv", &TestConfig::fallback_scsv },
{ "-require-any-client-certificate",
@@ -48,6 +49,7 @@
{ "-no-tls11", &TestConfig::no_tls11 },
{ "-no-tls1", &TestConfig::no_tls1 },
{ "-no-ssl3", &TestConfig::no_ssl3 },
+ { "-cookie-exchange", &TestConfig::cookie_exchange },
};
const size_t kNumBoolFlags = sizeof(kBoolFlags) / sizeof(kBoolFlags[0]);
@@ -71,6 +73,7 @@
TestConfig::TestConfig()
: is_server(false),
+ is_dtls(false),
resume(false),
fallback_scsv(false),
require_any_client_certificate(false),
@@ -82,7 +85,8 @@
no_tls12(false),
no_tls11(false),
no_tls1(false),
- no_ssl3(false) {
+ no_ssl3(false),
+ cookie_exchange(false) {
}
bool ParseConfig(int argc, char **argv, TestConfig *out_config) {