commit | dbcebe04a0fb6f548d0d1481359cf4e380854698 | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Mon Jan 07 18:07:24 2019 -0800 |
committer | Dan Willemsen <dwillemsen@google.com> | Mon Jan 07 18:07:24 2019 -0800 |
tree | 85c02346394f05ada50540ae68e2a932c5f43d58 | |
parent | 022dd04f5d9f3dabd35092d3fd50814cde18746b [diff] [blame] |
Build the _ssl module Bug: 110170704 Test: cd external/python/cpython2; mma Change-Id: If8e4b0b4c46a7d610abe7803a1fc5e3a6ba4b7a1
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index d0ce913..0e0dacd 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c
@@ -591,7 +591,9 @@ Py_INCREF(sslctx); /* Make sure the SSL error state is initialized */ +#ifndef OPENSSL_IS_BORINGSSL (void) ERR_get_state(); +#endif ERR_clear_error(); PySSL_BEGIN_ALLOW_THREADS