diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-19 21:26:35 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-19 21:26:35 +0100 |
commit | 2fed889224082a88cd3e1bca1c50e2c6409127df (patch) | |
tree | e80f8eb7ee9432960f1dd0ca04e64eb1830b2ac7 /src/util/crypto_helper_rsa.c | |
parent | 52fe9d657bd54e622e8b87070c29ac0ffc27c575 (diff) | |
download | exchange-2fed889224082a88cd3e1bca1c50e2c6409127df.tar.xz |
-fix offset issue
Diffstat (limited to 'src/util/crypto_helper_rsa.c')
-rw-r--r-- | src/util/crypto_helper_rsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/crypto_helper_rsa.c b/src/util/crypto_helper_rsa.c index 088aae9f0..f9c4d60fc 100644 --- a/src/util/crypto_helper_rsa.c +++ b/src/util/crypto_helper_rsa.c @@ -298,8 +298,8 @@ TALER_CRYPTO_helper_rsa_poll (struct TALER_CRYPTO_RsaDenominationHelper *dh) ssize_t ret; ret = recv (dh->sock, - buf, - sizeof (buf), + buf + off, + sizeof (buf) - off, (dh->synced && (0 == off)) ? MSG_DONTWAIT : 0); |