We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1093bf2 commit f348909Copy full SHA for f348909
1 file changed
Modules/_ssl.c
@@ -1167,7 +1167,7 @@ static PyObject *PySSL_cipher (PySSLSocket *self) {
1167
goto fail0;
1168
PyTuple_SET_ITEM(retval, 0, v);
1169
}
1170
- cipher_protocol = SSL_CIPHER_get_version(current);
+ cipher_protocol = (char *) SSL_CIPHER_get_version(current);
1171
if (cipher_protocol == NULL) {
1172
Py_INCREF(Py_None);
1173
PyTuple_SET_ITEM(retval, 1, Py_None);
0 commit comments