summaryrefslogtreecommitdiffstats
path: root/include/crypto/internal/kpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/internal/kpp.h')
-rw-r--r--include/crypto/internal/kpp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/internal/kpp.h b/include/crypto/internal/kpp.h
index 31ff3c1986ef..167662407e36 100644
--- a/include/crypto/internal/kpp.h
+++ b/include/crypto/internal/kpp.h
@@ -53,7 +53,7 @@ static inline void *kpp_request_ctx(struct kpp_request *req)
static inline void kpp_set_reqsize(struct crypto_kpp *kpp,
unsigned int reqsize)
{
- crypto_kpp_alg(kpp)->reqsize = reqsize;
+ kpp->reqsize = reqsize;
}
static inline void *kpp_tfm_ctx(struct crypto_kpp *tfm)