summaryrefslogtreecommitdiffstats
path: root/include/crypto/internal/akcipher.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/internal/akcipher.h')
-rw-r--r--include/crypto/internal/akcipher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/internal/akcipher.h b/include/crypto/internal/akcipher.h
index 8d3220c9ab77..1474a2d890fc 100644
--- a/include/crypto/internal/akcipher.h
+++ b/include/crypto/internal/akcipher.h
@@ -36,7 +36,7 @@ static inline void *akcipher_request_ctx(struct akcipher_request *req)
static inline void akcipher_set_reqsize(struct crypto_akcipher *akcipher,
unsigned int reqsize)
{
- crypto_akcipher_alg(akcipher)->reqsize = reqsize;
+ akcipher->reqsize = reqsize;
}
static inline void *akcipher_tfm_ctx(struct crypto_akcipher *tfm)