"KeyUpdate-Server":"Test failure - reason unknown",
"SSL3-ECDHE-PSK-AES128-CBC-SHA-server":"Test failure - reason unknown",
"SSL3-ECDHE-PSK-AES256-CBC-SHA-server":"Test failure - reason unknown",
- "SSL3-NULL-SHA-server":"Test failure - reason unknown",
- "SSL3-NULL-SHA-client":"Test failure - reason unknown",
- "SSL3-NULL-SHA-LargeRecord":"Test failure - reason unknown",
- "SSL3-NULL-SHA-BadRecord":"Test failure - reason unknown",
- "TLS1-NULL-SHA-server":"Test failure - reason unknown",
- "TLS1-NULL-SHA-LargeRecord":"Test failure - reason unknown",
- "TLS1-NULL-SHA-BadRecord":"Test failure - reason unknown",
- "TLS11-NULL-SHA-server":"Test failure - reason unknown",
- "TLS1-NULL-SHA-client":"Test failure - reason unknown",
- "TLS11-NULL-SHA-client":"Test failure - reason unknown",
- "TLS11-NULL-SHA-LargeRecord":"Test failure - reason unknown",
- "TLS12-NULL-SHA-client":"Test failure - reason unknown",
- "TLS12-NULL-SHA-server":"Test failure - reason unknown",
- "TLS12-NULL-SHA-LargeRecord":"Test failure - reason unknown",
- "TLS11-NULL-SHA-BadRecord":"Test failure - reason unknown",
- "TLS12-NULL-SHA-BadRecord":"Test failure - reason unknown",
+ "DTLS1-NULL-SHA-server":"Test failure - reason unknown",
+ "DTLS1-NULL-SHA-client":"Test failure - reason unknown",
+ "DTLS12-NULL-SHA-client":"Test failure - reason unknown",
+ "DTLS12-NULL-SHA-server":"Test failure - reason unknown",
"BadECDSA-1-4":"Test failure - reason unknown",
"BadECDSA-3-4":"Test failure - reason unknown",
"BadECDSA-4-1":"Test failure - reason unknown",
std::string *string_field = FindField(out_config, kStringFlags, argv[i]);
if (string_field != NULL) {
+ const char *val;
+
i++;
if (i >= argc) {
fprintf(stderr, "Missing parameter\n");
return false;
}
- string_field->assign(argv[i]);
+
+ /*
+ * Fix up the -cipher argument. runner uses "DEFAULT:NULL-SHA" to enable
+ * the NULL-SHA cipher. However in OpenSSL "DEFAULT" permanently switches
+ * off NULL ciphers, so we use "ALL:NULL-SHA" instead.
+ */
+ if (strcmp(argv[i - 1], "-cipher") == 0
+ && strcmp(argv[i], "DEFAULT:NULL-SHA") == 0)
+ val = "ALL:NULL-SHA";
+ else
+ val = argv[i];
+
+ string_field->assign(val);
continue;
}