We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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