Skip to content

Commit 79ccb36

Browse files
committed
FIX: incompatible pointer types warning
1 parent d70bab1 commit 79ccb36

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/core/p-crypt.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,6 @@ static void free_crypt_cipher_context(CRYPT_CTX *ctx);
909909
#endif
910910

911911
if (ctx->unprocessed_len > 0) {
912-
ofs = 0;
913912
blk = ctx->cipher_block_size;
914913
Extend_Series(bin, blk);
915914

@@ -918,7 +917,7 @@ static void free_crypt_cipher_context(CRYPT_CTX *ctx);
918917
// pad with zeros...
919918
CLEAR(ctx->unprocessed_data + ctx->unprocessed_len, len);
920919

921-
ret = Crypt_Crypt(ctx, ctx->unprocessed_data, blk, &olen);
920+
ret = Crypt_Crypt(ctx, ctx->unprocessed_data, blk, &ofs);
922921
ctx->unprocessed_len = 0;
923922
}
924923
if (ctx->tag_len) {

0 commit comments

Comments
 (0)