aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/impl/monocypher.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/impl/monocypher.c')
-rw-r--r--src/crypto/impl/monocypher.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/crypto/impl/monocypher.c b/src/crypto/impl/monocypher.c
index 790f5e9..b695d08 100644
--- a/src/crypto/impl/monocypher.c
+++ b/src/crypto/impl/monocypher.c
@@ -53,10 +53,7 @@
uint32_t dataLen
)
{
- if(dataLen > SIZE_MAX)
- {
- return CSTATUS_FAIL;
- }
+ _sizet_check(dataLen)
/*
* Function returns the next counter value which is not