[dovecot/core] 9249c8: lib-smtp: server: Change conn_start_tls() connecti...

GitHub noreply at github.com
Fri Dec 22 09:30:10 EET 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 9249c80276766fdc4d31fc3eebc22fba7d53d77c
      https://github.com/dovecot/core/commit/9249c80276766fdc4d31fc3eebc22fba7d53d77c
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M src/lib-smtp/smtp-server-cmd-starttls.c
    M src/lib-smtp/smtp-server.h
    M src/submission-login/client.c

  Log Message:
  -----------
  lib-smtp: server: Change conn_start_tls() connection callback to return a success status.


  Commit: 55f1e5a6f22a7ea13a12b17be715e661e7f02471
      https://github.com/dovecot/core/commit/55f1e5a6f22a7ea13a12b17be715e661e7f02471
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M src/lib-smtp/smtp-server-connection.c
    M src/lib-smtp/smtp-server.h

  Log Message:
  -----------
  lib-smtp: server: Add smtp_server_connection_set_ssl_streams().

It wraps smtp_server_connection_set_streams() and additionally marks the connection as SSL-secured.


  Commit: 1171e5f92b20e8e126b2dcf62ea0731fa864b4bb
      https://github.com/dovecot/core/commit/1171e5f92b20e8e126b2dcf62ea0731fa864b4bb
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M src/lib-smtp/smtp-server-cmd-starttls.c

  Log Message:
  -----------
  lib-smtp: server: STARTTLS command: Call smtp_server_connection_set_ssl_streams() after calling the conn_start_tls() connection callback.

This is called instead smtp_server_connection_set_streams(), so that the connection is now marked as SSL-secured.
This fixes a submission-login bug that prevented client login when ssl=required.


Compare: https://github.com/dovecot/core/compare/570f02698492...1171e5f92b20


More information about the dovecot-cvs mailing list