Rename some of the values of the ssl variable.
This commit is contained in:
parent
0fae651308
commit
38f5f428c4
|
@ -201,7 +201,7 @@ myaccount = IMAP {
|
||||||
server = 'imap.mail.server',
|
server = 'imap.mail.server',
|
||||||
username = 'me',
|
username = 'me',
|
||||||
password = 'secret',
|
password = 'secret',
|
||||||
ssl = 'ssl3'
|
ssl = 'ssl23'
|
||||||
}
|
}
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
|
@ -237,15 +237,15 @@ for imap and
|
||||||
.Dq 993
|
.Dq 993
|
||||||
for imaps.
|
for imaps.
|
||||||
.It Va ssl
|
.It Va ssl
|
||||||
Forces an imaps connection and specifies the SSL/TLS protocol to be used. It
|
Forces an imaps connection and specifies the SSL/TLS protocol/version to be
|
||||||
takes a
|
used. It takes a
|
||||||
.Vt string
|
.Vt string
|
||||||
as a value, specifically one of:
|
as a value, specifically one of:
|
||||||
.Dq ssl3 ,
|
.Dq ssl3 ,
|
||||||
.Dq ssl23 ,
|
.Dq ssl23 ,
|
||||||
.Dq tls1 ,
|
.Dq tls1 ,
|
||||||
.Dq tls11 ,
|
.Dq tls1.1 ,
|
||||||
.Dq tls12 .
|
.Dq tls1.2 .
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
.Ss LISTING
|
.Ss LISTING
|
||||||
|
|
|
@ -24,7 +24,7 @@ account2 = IMAP {
|
||||||
server = 'imap2.mail.server',
|
server = 'imap2.mail.server',
|
||||||
username = 'user2',
|
username = 'user2',
|
||||||
password = 'secret2',
|
password = 'secret2',
|
||||||
ssl = 'ssl3',
|
ssl = 'ssl23',
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Get a list of the available mailboxes and folders
|
-- Get a list of the available mailboxes and folders
|
||||||
|
|
|
@ -95,9 +95,9 @@ open_secure_connection(session *ssn)
|
||||||
ctx = ssl3ctx;
|
ctx = ssl3ctx;
|
||||||
} else if (!strcasecmp(ssn->sslproto, "tls1")) {
|
} else if (!strcasecmp(ssn->sslproto, "tls1")) {
|
||||||
ctx = tls1ctx;
|
ctx = tls1ctx;
|
||||||
} else if (!strcasecmp(ssn->sslproto, "tls11")) {
|
} else if (!strcasecmp(ssn->sslproto, "tls1.1")) {
|
||||||
ctx = tls11ctx;
|
ctx = tls11ctx;
|
||||||
} else if (!strcasecmp(ssn->sslproto, "tls12")) {
|
} else if (!strcasecmp(ssn->sslproto, "tls1.2")) {
|
||||||
ctx = tls12ctx;
|
ctx = tls12ctx;
|
||||||
} else {
|
} else {
|
||||||
ctx = ssl23ctx;
|
ctx = ssl23ctx;
|
||||||
|
|
Loading…
Reference in New Issue