aboutsummaryrefslogtreecommitdiffstats
path: root/src/libpttls/sasl/sasl_mechanism.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libpttls/sasl/sasl_mechanism.c')
-rw-r--r--src/libpttls/sasl/sasl_mechanism.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libpttls/sasl/sasl_mechanism.c b/src/libpttls/sasl/sasl_mechanism.c
index 4e0f876be..05a02e56d 100644
--- a/src/libpttls/sasl/sasl_mechanism.c
+++ b/src/libpttls/sasl/sasl_mechanism.c
@@ -15,6 +15,8 @@
#include "sasl_mechanism.h"
+#include "sasl_plain/sasl_plain.h"
+
/**
* Available SASL mechanisms.
*/
@@ -23,6 +25,8 @@ static struct {
bool server;
sasl_mechanism_constructor_t create;
} mechs[] = {
+ { "PLAIN", TRUE, (sasl_mechanism_constructor_t)sasl_plain_create },
+ { "PLAIN", FALSE, (sasl_mechanism_constructor_t)sasl_plain_create },
};
/**