Fix the last one of the asserts.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17537 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-05-11 22:49:13 +00:00
parent b0c30078e1
commit 7329fc2b51

View File

@@ -240,7 +240,7 @@ imath_rsa_private_encrypt(int flen, const unsigned char* from,
{
size_t ssize;
ssize = mp_int_unsigned_len(&s);
assert(size == ssize);
assert(size >= ssize);
mp_int_to_unsigned(&s, to, size);
}
mp_int_clear(&s);