A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/python/cpython/commit/2e1b7fc998e1744eeb3bb31b131eba0145b88a2f below:

raise an error when STARTTLS fails · python/cpython@2e1b7fc · GitHub

Skip to content Navigation Menu

Saved searches Use saved searches to filter your results more quickly

Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert Additional navigation options

Commit 2e1b7fc

raise an error when STARTTLS fails

1 parent 391f1a4 commit 2e1b7fc

Copy full SHA for 2e1b7fc

File tree Expand file treeCollapse file tree 2 files changed

+8

-0

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+8

-0

lines changed +5Lines changed: 5 additions & 0 deletions Original file line number Diff line number Diff line change

@@ -656,6 +656,11 @@ def starttls(self, keyfile=None, certfile=None):

656 656

self.ehlo_resp = None

657 657

self.esmtp_features = {}

658 658

self.does_esmtp = 0

659 +

else:

660 +

# RFC 3207:

661 +

# 501 Syntax error (no parameters allowed)

662 +

# 454 TLS not available due to temporary reason

663 +

raise SMTPResponseException(resp, reply)

659 664

return (resp, reply)

660 665 661 666

def sendmail(self, from_addr, to_addrs, msg, mail_options=[],

+3Lines changed: 3 additions & 0 deletions Original file line number Diff line number Diff line change

@@ -92,6 +92,9 @@ Core and Builtins

92 92

Library

93 93

-------

94 94 95 +

- Fix TLS stripping vulnerability in smptlib, CVE-2016-0772. Reported by Team

96 +

Oststrom

97 + 95 98

- Issue #7356: ctypes.util: Make parsing of ldconfig output independent of the

96 99

locale.

97 100

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4