From 21232c4e99f8f08e0885def12a9b1ea9b31e069e Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 6 Apr 1997 00:22:12 +0000 Subject: [PATCH] SHA is 20 bytes long! git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1551 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/otp/otp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/otp/otp.c b/lib/otp/otp.c index 8a512aef6..cf6d7a71b 100644 --- a/lib/otp/otp.c +++ b/lib/otp/otp.c @@ -47,7 +47,7 @@ RCSID("$Id$"); static OtpAlgorithm algorithms[] = { {OTP_ALG_MD4, "md4", 16, otp_md4_hash, otp_md4_init, otp_md4_next}, {OTP_ALG_MD5, "md5", 16, otp_md5_hash, otp_md5_init, otp_md5_next}, - {OTP_ALG_SHA, "sha", 16, otp_sha_hash, otp_sha_init, otp_sha_next} + {OTP_ALG_SHA, "sha", 20, otp_sha_hash, otp_sha_init, otp_sha_next} }; OtpAlgorithm *