projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ssf is useful for sasl
[apps/madmutt.git]
/
lib-sys
/
evtloop.c
diff --git
a/lib-sys/evtloop.c
b/lib-sys/evtloop.c
index
4dd3d45
..
3e1719e
100644
(file)
--- a/
lib-sys/evtloop.c
+++ b/
lib-sys/evtloop.c
@@
-107,11
+107,11
@@
static int el_job_connecting_ssl(job_t *w)
#if 0
if (!tls_check_certificate (conn))
return -1;
#if 0
if (!tls_check_certificate (conn))
return -1;
+#endif
/* set Security Strength Factor (SSF) for SASL */
/* NB: gnutls_cipher_get_key_size() returns key length in bytes */
/* set Security Strength Factor (SSF) for SASL */
/* NB: gnutls_cipher_get_key_size() returns key length in bytes */
- conn->ssf = gnutls_cipher_get_key_size(gnutls_cipher_get(w->session)) * 8;
-#endif
+ w->ssf = gnutls_cipher_get_key_size(gnutls_cipher_get(w->session)) * 8;
w->state = EL_LLP_READY;
return w->m->on_event(w, EL_EVT_RUNNING);
}
w->state = EL_LLP_READY;
return w->m->on_event(w, EL_EVT_RUNNING);
}