Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
baad4295
...
baad429501ce8e3d2e5d2d00d71b660e396f8908
authored
2014-02-04 13:08:00 +0200
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Issue a deprecation warning if tls-required is used in pop3d or imap4d config
1 parent
b5b49d26
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
imap4d/imap4d.c
pop3d/pop3d.c
imap4d/imap4d.c
View file @
baad429
...
...
@@ -294,7 +294,17 @@ cb_tls_required (void *data, mu_config_value_t *val)
if
(
mu_cfg_parse_boolean
(
val
->
v
.
string
,
&
bv
))
mu_error
(
_
(
"Not a boolean value"
));
else
if
(
bv
)
{
tls_mode
=
tls_required
;
mu_diag_output
(
MU_DIAG_WARNING
,
"the
\"
tls-required
\"
statement is deprecated, "
"use
\"
tls required
\"
instead"
);
}
else
mu_diag_output
(
MU_DIAG_WARNING
,
"the
\"
tls-required
\"
statement is deprecated, "
"use
\"
tls
\"
instead"
);
return
0
;
}
...
...
pop3d/pop3d.c
View file @
baad429
...
...
@@ -183,7 +183,17 @@ cb_tls_required (void *data, mu_config_value_t *val)
if
(
mu_cfg_parse_boolean
(
val
->
v
.
string
,
&
bv
))
mu_error
(
_
(
"Not a boolean value"
));
else
if
(
bv
)
{
tls_mode
=
tls_required
;
mu_diag_output
(
MU_DIAG_WARNING
,
"the
\"
tls-required
\"
statement is deprecated, "
"use
\"
tls required
\"
instead"
);
}
else
mu_diag_output
(
MU_DIAG_WARNING
,
"the
\"
tls-required
\"
statement is deprecated, "
"use
\"
tls
\"
instead"
);
return
0
;
}
...
...
Please
register
or
sign in
to post a comment