diff options
Diffstat (limited to 'SWIG/_bio.i')
-rw-r--r-- | SWIG/_bio.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SWIG/_bio.i b/SWIG/_bio.i index e85a275..84b76b3 100644 --- a/SWIG/_bio.i +++ b/SWIG/_bio.i @@ -250,7 +250,7 @@ PyObject *bio_set_cipher(BIO *b, EVP_CIPHER *c, PyObject *key, PyObject *iv, int || (PyObject_AsReadBuffer(iv, &ibuf, &ilen) == -1)) return NULL; - BIO_set_cipher(b, (const EVP_CIPHER *)c, + BIO_set_cipher(b, (const EVP_CIPHER *)c, (unsigned char *)kbuf, (unsigned char *)ibuf, op); Py_RETURN_NONE; } |