[python module] update fko_new_with_data() call to include hmac_type

This commit is contained in:
Michael Rash
2013-03-17 23:03:48 -04:00
parent 92af5b53be
commit 817a719a9c

View File

@@ -310,14 +310,15 @@ init_ctx_with_data(PyObject *self, PyObject *args)
int enc_mode;
char *hmac_key;
int hmac_key_len;
int hmac_type;
int res;
if(!PyArg_ParseTuple(args, "ss#is#", &spa_data, &dec_key, &dec_key_len,
&enc_mode, &hmac_key, &hmac_key_len))
&enc_mode, &hmac_key, &hmac_key_len, &hmac_type))
return NULL;
res = fko_new_with_data(&ctx, spa_data, dec_key, dec_key_len, enc_mode,
hmac_key, hmac_key_len);
hmac_key, hmac_key_len, hmac_type);
if(res != FKO_SUCCESS)
{