projects
/
cyrus-sasl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f9ccd8
)
avoid legacy mechs if we require CB
author
Luke Howard
<lukeh@padl.com>
Mon, 27 Sep 2010 00:57:53 +0000
(
02:57
+0200)
committer
Luke Howard
<lukeh@padl.com>
Mon, 27 Sep 2010 00:57:53 +0000
(
02:57
+0200)
lib/client.c
patch
|
blob
|
history
diff --git
a/lib/client.c
b/lib/client.c
index
1ba3874
..
daf3543
100644
(file)
--- a/
lib/client.c
+++ b/
lib/client.c
@@
-555,6
+555,11
@@
int sasl_client_start(sasl_conn_t *conn,
}
/* Can we meet it's features? */
+ if (SASL_CB_PRESENT(c_conn->cparams) &&
+ !(m->m.plug->features & SASL_FEAT_CHANNEL_BINDING)) {
+ break;
+ }
+
if ((m->m.plug->features & SASL_FEAT_NEEDSERVERFQDN)
&& !conn->serverFQDN) {
break;