From 59641f933c61cf6aaf3dc9605e331ec34185f597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 7 May 2006 11:57:22 +0000 Subject: [PATCH] print the lengths when they don't match. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17501 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/test_engine_dso.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/des/test_engine_dso.c b/lib/des/test_engine_dso.c index 3e36d9e69..c018323f5 100644 --- a/lib/des/test_engine_dso.c +++ b/lib/des/test_engine_dso.c @@ -160,7 +160,7 @@ main(int argc, char **argv) errx(1, "failed to public decrypt"); if (keylen != 7) - errx(1, "output buffer not same length"); + errx(1, "output buffer not same length: %d", (int)keylen); if (memcmp(buf, "hejsan", 7) != 0) errx(1, "string not the same after decryption"); @@ -179,7 +179,7 @@ main(int argc, char **argv) errx(1, "failed to private decrypt"); if (keylen != 7) - errx(1, "output buffer not same length"); + errx(1, "output buffer not same length: %d", (int)keylen); if (memcmp(buf, "hejsan", 7) != 0) errx(1, "string not the same after decryption");