We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d70bab1 commit 79ccb36Copy full SHA for 79ccb36
src/core/p-crypt.c
@@ -909,7 +909,6 @@ static void free_crypt_cipher_context(CRYPT_CTX *ctx);
909
#endif
910
911
if (ctx->unprocessed_len > 0) {
912
- ofs = 0;
913
blk = ctx->cipher_block_size;
914
Extend_Series(bin, blk);
915
@@ -918,7 +917,7 @@ static void free_crypt_cipher_context(CRYPT_CTX *ctx);
918
917
// pad with zeros...
919
CLEAR(ctx->unprocessed_data + ctx->unprocessed_len, len);
920
921
- ret = Crypt_Crypt(ctx, ctx->unprocessed_data, blk, &olen);
+ ret = Crypt_Crypt(ctx, ctx->unprocessed_data, blk, &ofs);
922
ctx->unprocessed_len = 0;
923
}
924
if (ctx->tag_len) {
0 commit comments