Conservative group roles for TLS 1.3
@@ -3131,6 +3131,14 @@ public static Vector getNamedGroupRoles(Vector keyExchangeAlgorithms)
addToSet(result, NamedGroupRole.ecdsa);
break;
}
+
+ case KeyExchangeAlgorithm.NULL:
+ {
+ // TODO[tls13] We're conservatively adding both here, though maybe only one is needed
+ addToSet(result, NamedGroupRole.dh);
+ addToSet(result, NamedGroupRole.ecdh);
+ break;
+ }
}
}
return result;
