diff --git a/src/ciphers/rc2.c b/src/ciphers/rc2.c index 46a916b..328889a 100644 --- a/src/ciphers/rc2.c +++ b/src/ciphers/rc2.c @@ -401,7 +401,7 @@ void rc2_done(symmetric_key *skey) int rc2_keysize(int *keysize) { LTC_ARGCHK(keysize != NULL); - if (*keysize < 5) { + if (*keysize < 1) { return CRYPT_INVALID_KEYSIZE; } else if (*keysize > 128) { *keysize = 128;