Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4cfbac8 + f348909 commit 83fed26Copy full SHA for 83fed26
1 file changed
Modules/_ssl.c
@@ -1381,7 +1381,7 @@ static PyObject *PySSL_cipher (PySSLSocket *self) {
1381
goto fail0;
1382
PyTuple_SET_ITEM(retval, 0, v);
1383
}
1384
- cipher_protocol = SSL_CIPHER_get_version(current);
+ cipher_protocol = (char *) SSL_CIPHER_get_version(current);
1385
if (cipher_protocol == NULL) {
1386
Py_INCREF(Py_None);
1387
PyTuple_SET_ITEM(retval, 1, Py_None);
0 commit comments