Skip to content

Commit

Permalink
fix themis secure cell token imprint for jni wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
vixentael committed Nov 5, 2017
1 parent 69ff37a commit 0ec8a72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jni/themis_cell.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ JNIEXPORT jobjectArray JNICALL Java_com_cossacklabs_themis_SecureCell_encrypt(JN
if (additional_data_length)
{
additional_data_buf = (*env)->GetByteArrayElements(env, additional_data, NULL);
if (!additional_data_buf)
{
goto err;
}
Expand Down

0 comments on commit 0ec8a72

Please sign in to comment.