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
1d662e26
...
1d662e265f9fa861d45a762e3c6442b943cbd4bb
authored
2004-11-15 16:37:00 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(pop3d_stls): Set state to AUTHORIZATION upon successful completion of TLS negotiation.
1 parent
6c565ba7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
pop3d/stls.c
pop3d/stls.c
View file @
1d662e2
...
...
@@ -27,7 +27,7 @@ pop3d_stls (const char *arg)
if
(
strlen
(
arg
)
!=
0
)
return
ERR_BAD_ARGS
;
if
(
state
!=
AUTHORIZATION
)
if
(
state
!=
initial_state
)
return
ERR_WRONG_STATE
;
if
(
tls_done
)
...
...
@@ -41,6 +41,9 @@ pop3d_stls (const char *arg)
if
(
!
tls_done
)
return
ERR_UNKNOWN
;
state
=
AUTHORIZATION
;
/* Confirm we're in this state. Necessary for
--tls-required to work */
return
OK
;
}
...
...
Please
register
or
sign in
to post a comment