]> granicus.if.org Git - python/commit
bpo-28182: Expose OpenSSL verification results (#3412)
authorChristian Heimes <christian@python.org>
Fri, 8 Sep 2017 19:00:19 +0000 (12:00 -0700)
committerGitHub <noreply@github.com>
Fri, 8 Sep 2017 19:00:19 +0000 (12:00 -0700)
commitb3ad0e5127bdeb6e506301e0d65403fa23c4177b
tree279f6060d6dc24a2b23a0d17d8ff57ed57762fce
parentaf8d6b90723daa943c5cd0a38ee7564790d8687a
bpo-28182: Expose OpenSSL verification results (#3412)

The SSL module now raises SSLCertVerificationError when OpenSSL fails to
verify the peer's certificate. The exception contains more information about
the error.

Original patch by Chi Hsuan Yen

Signed-off-by: Christian Heimes <christian@python.org>
Doc/library/ssl.rst
Lib/ssl.py
Lib/test/test_ssl.py
Misc/NEWS.d/next/Library/2017-09-06-18-49-16.bpo-28182.hRP8Bk.rst [new file with mode: 0644]
Modules/_ssl.c