commit | 763a61ca954a1c5a1b56411dd5e57a7d58afff75 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sun Apr 10 18:05:12 2016 +0300 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Sun Apr 10 18:05:12 2016 +0300 |
tree | 36c3a606196c2a37e8865b5fbf78531e21a032ea | |
parent | 149d080871f9bef276a3d4fa251ba6fbc910f770 [diff] [blame] |
Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF in places where Py_DECREF was used.
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index a44414b..23d4d5c 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c
@@ -1467,7 +1467,7 @@ return -1; #else Py_INCREF(value); - Py_XSETREF(self->ctx, (PySSLContext *)value); + Py_SETREF(self->ctx, (PySSLContext *)value); SSL_set_SSL_CTX(self->ssl, self->ctx->ctx); #endif } else {