Skip to content

Commit

Permalink
fix ASAN
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavrax committed Oct 10, 2023
1 parent 0ee123a commit 2f054d2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/pbcc_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ int pbcc_legacy_decrypt(uint8_t const* cipher_key, pubnub_bymebl_t *result, pubn
memmove(to_decrypt.ptr, to_decrypt.ptr + 16, to_decrypt.size - 16);
to_decrypt.size = to_decrypt.size - 16;
#endif
to_decrypt.ptr[to_decrypt.size] = '\0';

return pbaes256_decrypt(to_decrypt, key, iv, result);
}
Expand Down

0 comments on commit 2f054d2

Please sign in to comment.