projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
For the SSL-only ports, if crypto negotiation fails,
[citadel.git]
/
citadel
/
modules
/
pop3
/
serv_pop3.c
diff --git
a/citadel/modules/pop3/serv_pop3.c
b/citadel/modules/pop3/serv_pop3.c
index 761a4da967e510c06b697ef7722ea9fcb5964073..fadb9f50cc15b0096111c3f147f096b7905d3aff 100644
(file)
--- a/
citadel/modules/pop3/serv_pop3.c
+++ b/
citadel/modules/pop3/serv_pop3.c
@@
-98,6
+98,7
@@
void pop3_greeting(void) {
*/
void pop3s_greeting(void) {
CtdlModuleStartCryptoMsgs(NULL, NULL, NULL);
+ if (!CC->redirect_ssl) CC->kill_me = 1; /* kill session if no crypto */
pop3_greeting();
}