Skip to content

Commit

Permalink
[python extension] update key_gen() parse tuple format arg to handle …
Browse files Browse the repository at this point in the history
…hmac_type integer
  • Loading branch information
mrash committed Mar 20, 2013
1 parent e468989 commit 8c3cab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/fkomodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ key_gen(PyObject *self, PyObject *args)
int hmac_type;
int res;

if(!PyArg_ParseTuple(args, "s#s#i", &key_b64, &key_b64_len,
if(!PyArg_ParseTuple(args, "s#s#ih", &key_b64, &key_b64_len,
&hmac_key_b64, &hmac_key_b64_len, &hmac_type))
return NULL;

Expand Down

0 comments on commit 8c3cab0

Please sign in to comment.