aboutsummaryrefslogtreecommitdiff
path: root/contrib/pgcrypto/pgp-cfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pgcrypto/pgp-cfb.c')
-rw-r--r--contrib/pgcrypto/pgp-cfb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/pgcrypto/pgp-cfb.c b/contrib/pgcrypto/pgp-cfb.c
index dafa562daa1..de41e825b0c 100644
--- a/contrib/pgcrypto/pgp-cfb.c
+++ b/contrib/pgcrypto/pgp-cfb.c
@@ -220,7 +220,9 @@ cfb_process(PGP_CFB *ctx, const uint8 *data, int len, uint8 *dst,
while (len > 0)
{
- px_cipher_encrypt(ctx->ciph, ctx->fr, ctx->block_size, ctx->fre);
+ unsigned rlen;
+
+ px_cipher_encrypt(ctx->ciph, 0, ctx->fr, ctx->block_size, ctx->fre, &rlen);
if (ctx->block_no < 5)
ctx->block_no++;