Merge pull request #779 from Mkaysi/sasl

sasl.cpp: don't advertise DH-* as secure
This commit is contained in:
Alexey Sokolov
2014-12-21 19:33:50 +00:00
+3 -3
View File
@@ -28,10 +28,10 @@ static const struct {
} SupportedMechanisms[] = {
{ "EXTERNAL", "TLS certificate, for use with the *cert module", false },
#ifdef HAVE_SASL_MECHANISM
{ "DH-BLOWFISH", "Secure negotiation using the DH-BLOWFISH mechanism", false },
{ "DH-AES", "More secure negotiation using the DH-AES mechanism", false },
{ "DH-BLOWFISH", "Negotiation using the DH-BLOWFISH mechanism", false },
{ "DH-AES", "Negotiation using the DH-AES mechanism", false },
#endif
{ "PLAIN", "Plain text negotiation", true },
{ "PLAIN", "Plain text negotiation, this should work always if the network supports SASL", true },
{ NULL, NULL, false }
};