summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mpi/mpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpi/mpi.c b/mpi/mpi.c
index 5aa3d06f..3b01b6f9 100644
--- a/mpi/mpi.c
+++ b/mpi/mpi.c
@@ -2545,7 +2545,7 @@ mp_err mp_read_unsigned_bin(mp_int *mp, unsigned char *str, size_t len)
mp_size ix;
mp_err res;
- ARGCHK(mp != NULL && str != NULL && len > 0, MP_BADARG);
+ ARGCHK(mp != NULL && str != NULL, MP_BADARG);
mp_zero(mp);