From 7329fc2b5146ab9efc42e4e3dbd3980e88f6d4ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 11 May 2006 22:49:13 +0000 Subject: [PATCH] Fix the last one of the asserts. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17537 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/rsa-imath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/des/rsa-imath.c b/lib/des/rsa-imath.c index e03fa1531..825488dbd 100644 --- a/lib/des/rsa-imath.c +++ b/lib/des/rsa-imath.c @@ -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);