Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Oct 13, 2023
1 parent 094851a commit d04c6d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ PyObject *aws_py_rsa_encrypt(PyObject *self, PyObject *args) {

struct aws_rsa_key_pair *rsa = PyCapsule_GetPointer(rsa_capsule, s_capsule_name_rsa);
if (rsa == NULL) {
return NULL();
return NULL;
}

struct aws_byte_buf result_buf;
Expand Down Expand Up @@ -444,7 +444,6 @@ PyObject *aws_py_rsa_verify(PyObject *self, PyObject *args) {
int sign_algo = 0;
struct aws_byte_cursor digest_cur;
struct aws_byte_cursor signature_cur;
Py_ssize_t signature_len;
if (!PyArg_ParseTuple(
args, "Oiy#y#", &rsa_capsule, &sign_algo, &digest_cur.ptr, &digest_cur.len, &signature_cur.ptr, &signature_cur.len)) {
return NULL;
Expand Down

0 comments on commit d04c6d7

Please sign in to comment.